diff options
author | anekos | 2009-09-03 12:25:57 +0000 |
---|---|---|
committer | anekos | 2009-09-03 12:25:57 +0000 |
commit | fc3cb3d67f2e17033dfcf02dc653ac040d3f61f5 (patch) | |
tree | 898b50e0dea466acc301c48beb965408e105a9ab /function-template.js | |
parent | 85275944c9b0547ffe04d47b09b25727ed8023cf (diff) | |
download | vimperator-plugins-fc3cb3d67f2e17033dfcf02dc653ac040d3f61f5.tar.bz2 |
count の未指定時の値について追記
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35184 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'function-template.js')
-rwxr-xr-x | function-template.js | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/function-template.js b/function-template.js index 3fb4937..2a5c00d 100755 --- a/function-template.js +++ b/function-template.js @@ -67,7 +67,9 @@ let PLUGIN_INFO = function (args) { args.literalArg; args.length; - args['-force']; + args.bang; // :command! + args.count; // :10command 入力されていない時は -1 + args['-option1']; }, { literal: 0, @@ -134,6 +136,7 @@ let PLUGIN_INFO = ['`moge'], 'Description', // extraInfo で指定していない引数は渡されません + // count => 入力されていない場合は - 1 function (motion, count, arg) { }, { |