mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-20 18:47:58 +01:00
Provide JavaScript completion for the -js :command option.
This commit is contained in:
@@ -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 !" },
|
||||||
|
|||||||
Reference in New Issue
Block a user