aboutsummaryrefslogtreecommitdiffstats
path: root/twittperator.js
diff options
context:
space:
mode:
authoranekos2010-08-05 16:04:04 +0000
committeranekos2010-08-05 16:04:04 +0000
commit3540671b110857b151d24f32013ab79a59b66690 (patch)
tree6d05788df8863aae47380bfb306390e411831673 /twittperator.js
parent6b29fed874d8d7397ea0be5dd6a07031917a2d79 (diff)
downloadvimperator-plugins-3540671b110857b151d24f32013ab79a59b66690.tar.bz2
補完時&非サブコマンドのエラーもチェック
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@38191 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'twittperator.js')
-rwxr-xr-xtwittperator.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/twittperator.js b/twittperator.js
index ad77888..3f1ec05 100755
--- a/twittperator.js
+++ b/twittperator.js
@@ -1530,7 +1530,7 @@ function loadPlugins() { // {{{
let len = 0;
if (args.bang) {
- let [subCmd, m] = findSubCommand(args.literalArg);
+ let [subCmd, m] = findSubCommand(args.literalArg) || [];
if (subCmd) {
context.title = ["Hidden", "Entry"];
subCmd.completer(context, args);