1
0
mirror of https://github.com/gryf/pentadactyl-pm.git synced 2026-01-05 23:34:10 +01:00

More completion stuff

This commit is contained in:
Kris Maglione
2008-11-22 09:56:57 +00:00
parent ef0b517d3f
commit 49a559866c
14 changed files with 58 additions and 56 deletions

View File

@@ -186,7 +186,7 @@ function Mappings() //{{{
const opts = {
argCount: "2",
completer: function (filter) completion.userMapping(filter, modes),
completer: function (context) completion.userMapping(context.filter, modes),
options: [
[["<silent>", "<Silent>"], commands.OPTION_NOARG]
],
@@ -245,7 +245,7 @@ function Mappings() //{{{
if (!found)
liberator.echoerr("E31: No such mapping");
},
{ completer: function (filter) completion.userMapping(filter, modes) });
{ completer: function (context) completion.userMapping(context.filter, modes) });
}
/////////////////////////////////////////////////////////////////////////////}}}