mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-04-07 19:33:32 +02:00
Fix :delgroup completer's builtin group exclusions.
This commit is contained in:
@@ -585,8 +585,8 @@ var Contexts = Module("contexts", {
|
|||||||
completer: function (context, args) {
|
completer: function (context, args) {
|
||||||
if (args.bang)
|
if (args.bang)
|
||||||
return;
|
return;
|
||||||
modules.completion.group(context);
|
|
||||||
context.filters.push(function ({ item }) !item.builtin);
|
context.filters.push(function ({ item }) !item.builtin);
|
||||||
|
modules.completion.group(context);
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
||||||
|
|||||||
@@ -184,7 +184,7 @@ var tests = {
|
|||||||
}
|
}
|
||||||
],
|
],
|
||||||
delgroup: {
|
delgroup: {
|
||||||
error: ["!", "", "builtin"],
|
error: ["", "! foo", "builtin"],
|
||||||
completions: [""]
|
completions: [""]
|
||||||
},
|
},
|
||||||
delmacros: {
|
delmacros: {
|
||||||
|
|||||||
Reference in New Issue
Block a user