aboutsummaryrefslogtreecommitdiffstats
path: root/gmail-commando.js
diff options
context:
space:
mode:
authoranekos2010-05-28 09:32:04 +0000
committeranekos2010-05-28 09:32:04 +0000
commit9730ef55af18689e0654296c58cf09036f74aed2 (patch)
tree5a8c8da32ef4854d07c402d546b112604fa00702 /gmail-commando.js
parenta2db2b428704a80316f05948454c2ecb2443203e (diff)
downloadvimperator-plugins-9730ef55af18689e0654296c58cf09036f74aed2.tar.bz2
キーワード追加
git-svn-id: http://svn.coderepos.org/share/lang/javascript/vimperator-plugins/trunk@37737 d0d07461-0603-4401-acd4-de1884942a52
Diffstat (limited to 'gmail-commando.js')
-rwxr-xr-xgmail-commando.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/gmail-commando.js b/gmail-commando.js
index a625bba..a431783 100755
--- a/gmail-commando.js
+++ b/gmail-commando.js
@@ -125,7 +125,7 @@ let INFO =
unfold: function () buffer.followLink(Elements.unfoldButton),
};
- const GMailSearchKeyword = 'label intitle'.split(/\s/);
+ const GMailSearchKeyword = 'label subject from to cc bcc has is in'.split(/\s/);
commands.addUserCommand(
['gmail'],
@@ -155,7 +155,7 @@ let INFO =
if (m = /\s*([^\s:]*)$/(input)) {
context.advance(input.length - m[1].length);
context.completions = [
- ['label:', 'label']
+ [v + ':', v] for ([, v] in Iterator(GMailSearchKeyword))
];
return;
}