diff options
Diffstat (limited to 'auto_source.js')
-rw-r--r-- | auto_source.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js index 19bbace..cd6c7fa 100644 --- a/auto_source.js +++ b/auto_source.js @@ -5,8 +5,8 @@ // @license Creative Commons 2.1 (Attribution + Share Alike) // @version 1.0 // @author anekos (anekos@snca.net) +// @minVersion 1.2 // @maxVersion 2.0pre -// @minVersion 2.0pre // ==/VimperatorPlugin== // // Usage: @@ -66,12 +66,11 @@ ['autoso[urce]', 'aso'], 'Sourcing automatically when the specified file is modified.', function (arg, bang) { - liberator.log(arg); - liberator.log(io.expandPath(arg.string)); (bang ? killWatcher : startWatching)(io.expandPath(arg.string)); }, { bang: true, + argCount: '1', completer: function (arg, bang) { return bang ? [0, [[filepath, ''] for (filepath in files)]] : completion.file.apply(this, arguments); |