mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-02-08 21:25:46 +01: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) {
|
||||
if (args.bang)
|
||||
return;
|
||||
modules.completion.group(context);
|
||||
context.filters.push(function ({ item }) !item.builtin);
|
||||
modules.completion.group(context);
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
@@ -184,7 +184,7 @@ var tests = {
|
||||
}
|
||||
],
|
||||
delgroup: {
|
||||
error: ["!", "", "builtin"],
|
||||
error: ["", "! foo", "builtin"],
|
||||
completions: [""]
|
||||
},
|
||||
delmacros: {
|
||||
|
||||
Reference in New Issue
Block a user