mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2026-03-13 08:05:48 +01:00
Anchor option completion matches
This commit is contained in:
@@ -683,8 +683,6 @@ function Options() //{{{
|
||||
|
||||
let opt = options.parseOpt(filter, modifiers);
|
||||
let prefix = opt.prefix;
|
||||
if (prefix)
|
||||
context.advance(prefix.length);
|
||||
|
||||
if (context.filter.indexOf("=") == -1)
|
||||
{
|
||||
@@ -695,6 +693,9 @@ function Options() //{{{
|
||||
else if (prefix == "no")
|
||||
return;
|
||||
|
||||
if (prefix)
|
||||
context.advance(prefix.length);
|
||||
|
||||
let option = opt.option;
|
||||
context.advance(context.filter.indexOf("=") + 1);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user