mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-05 07:25:46 +01:00
Normalise the standard completer signatures to fn(context, args, ...).
This also fixes a number of the :command completers. --HG-- extra : rebase_source : 588a9b5a163ba3882c89d0716f292ef9658297f6
This commit is contained in:
@@ -1258,7 +1258,7 @@ const Buffer = Module("buffer", {
|
||||
{
|
||||
argCount: "?",
|
||||
completer: function (context) {
|
||||
completion.optionValue(context, "pageinfo", "+", "");
|
||||
completion.optionValue(context, args, "pageinfo", "+", "");
|
||||
context.title = ["Page Info"];
|
||||
}
|
||||
});
|
||||
@@ -1373,7 +1373,7 @@ const Buffer = Module("buffer", {
|
||||
{
|
||||
argCount: "?",
|
||||
bang: true,
|
||||
completer: function (context) completion.url(context, "bhf")
|
||||
completer: function (context, args) completion.url(context, args, "bhf")
|
||||
});
|
||||
|
||||
commands.add(["zo[om]"],
|
||||
|
||||
Reference in New Issue
Block a user