aboutsummaryrefslogtreecommitdiffstats
path: root/auto_source.js
diff options
context:
space:
mode:
Diffstat (limited to 'auto_source.js')
-rw-r--r--auto_source.js6
1 files changed, 3 insertions, 3 deletions
diff --git a/auto_source.js b/auto_source.js
index 6baa0f9..b4524f0 100644
--- a/auto_source.js
+++ b/auto_source.js
@@ -38,7 +38,7 @@ let PLUGIN_INFO =
<name>Auto Source</name>
<description>Sourcing automatically when the specified file is modified.</description>
<description lang="ja">指定のファイルが変更されたら自動で :so する。</description>
- <version>1.4.1</version>
+ <version>1.4.2</version>
<author mail="anekos@snca.net" homepage="http://d.hatena.ne.jp/nokturnalmortum/">anekos</author>
<minVersion>2.0pre</minVersion>
<maxVersion>2.0pre</maxVersion>
@@ -140,8 +140,8 @@ let PLUGIN_INFO =
commands.addUserCommand(
['autoso[urce]', 'aso'],
'Sourcing automatically when the specified file is modified.',
- function (arg, bang) {
- (bang ? killWatcher : startWatching)(expandPath(arg[0]), arg['-command'], arg['-force']);
+ function (arg) {
+ (bang.bang ? killWatcher : startWatching)(expandPath(arg[0]), arg['-command'], arg['-force']);
},
{
bang: true,