aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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;
}