mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 10:08:00 +01:00
More completion stuff
This commit is contained in:
@@ -825,7 +825,7 @@ function Commands() //{{{
|
||||
{
|
||||
argCount: "2",
|
||||
bang: true,
|
||||
completer: function (filter) completion.userCommand(filter),
|
||||
completer: function (context) completion.userCommand(context.filter),
|
||||
options: [
|
||||
[["-nargs"], commandManager.OPTION_STRING,
|
||||
function (arg) /^[01*?+]$/.test(arg), ["0", "1", "*", "?", "+"]],
|
||||
@@ -873,7 +873,7 @@ function Commands() //{{{
|
||||
},
|
||||
{
|
||||
argCount: "1",
|
||||
completer: function (filter) completion.userCommand(filter)
|
||||
completer: function (context) completion.userCommand(context.filter)
|
||||
});
|
||||
|
||||
//}}}
|
||||
|
||||
Reference in New Issue
Block a user