From fc3cb3d67f2e17033dfcf02dc653ac040d3f61f5 Mon Sep 17 00:00:00 2001 From: anekos Date: Thu, 3 Sep 2009 12:25:57 +0000 Subject: count の未指定時の値について追記 git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@35184 d0d07461-0603-4401-acd4-de1884942a52 --- function-template.js | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'function-template.js') 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) { }, { -- cgit v1.2.3