1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2025-12-20 18:37:58 +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) if (args.completeArg == 0)
completion.userCommand(context); completion.userCommand(context);
else else
completion.ex(context); args["-javascript"] ? completion.javascript(context) : completion.ex(context);
}, },
options: [ options: [
{ names: ["-bang", "-b"], description: "Command may be proceeded by a !" }, { names: ["-bang", "-b"], description: "Command may be proceeded by a !" },