1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 10:17:59 +01:00

Provide JavaScript completion for the -js :command option.

This commit is contained in:
Štěpán Němec
2010-10-18 03:00:38 +02:00
parent e6b6d80b10
commit 6ff9aac40c

View File

@@ -1267,7 +1267,7 @@ const Commands = Module("commands", {
if (args.completeArg == 0)
completion.userCommand(context);
else
completion.ex(context);
args["-javascript"] ? completion.javascript(context) : completion.ex(context);
},
options: [
{ names: ["-bang", "-b"], description: "Command may be proceeded by a !" },