mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-18 06:53:31 +01:00
Fix option completions.
This commit is contained in:
@@ -826,7 +826,7 @@ var Options = Module("options", {
|
|||||||
|
|
||||||
if (matches) {
|
if (matches) {
|
||||||
ret.option = this.get(ret.name, ret.scope);
|
ret.option = this.get(ret.name, ret.scope);
|
||||||
if (!ret.option && (ret.option = options.get(prefix + ret.name, ret.scope))) {
|
if (!ret.option && (ret.option = this.get(prefix + ret.name, ret.scope))) {
|
||||||
ret.name = prefix + ret.name;
|
ret.name = prefix + ret.name;
|
||||||
prefix = "";
|
prefix = "";
|
||||||
}
|
}
|
||||||
@@ -1021,6 +1021,8 @@ var Options = Module("options", {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function setCompleter(context, args, modifiers) {
|
function setCompleter(context, args, modifiers) {
|
||||||
|
const { completion } = modules;
|
||||||
|
|
||||||
let filter = context.filter;
|
let filter = context.filter;
|
||||||
|
|
||||||
if (args.bang) { // list completions for about:config entries
|
if (args.bang) { // list completions for about:config entries
|
||||||
|
|||||||
Reference in New Issue
Block a user