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:
@@ -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 !" },
|
||||
|
||||
Reference in New Issue
Block a user