mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 01:22:27 +01:00
Don't anchor option name completions by default.
This commit is contained in:
@@ -1182,6 +1182,7 @@ const Options = Module("options", {
|
|||||||
completion.option = function option(context, scope, prefix) {
|
completion.option = function option(context, scope, prefix) {
|
||||||
context.title = ["Option"];
|
context.title = ["Option"];
|
||||||
context.keys = { text: "names", description: "description" };
|
context.keys = { text: "names", description: "description" };
|
||||||
|
context.anchored = false;
|
||||||
context.completions = options;
|
context.completions = options;
|
||||||
if (prefix == "inv")
|
if (prefix == "inv")
|
||||||
context.keys.text = function (opt)
|
context.keys.text = function (opt)
|
||||||
|
|||||||
Reference in New Issue
Block a user