mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-24 00:02:27 +01:00
Highlight invalid option names in :set
This commit is contained in:
@@ -744,6 +744,10 @@ function Options() //{{{
|
|||||||
let opt = parseOpt(filter, modifiers);
|
let opt = parseOpt(filter, modifiers);
|
||||||
let option = opt.option;
|
let option = opt.option;
|
||||||
|
|
||||||
|
commandline.highlight(0, 0, "SPELLCHECK");
|
||||||
|
if (!option) /* FIXME: Kludge. */
|
||||||
|
commandline.highlight(0, name.length, "SPELLCHECK");
|
||||||
|
|
||||||
if (opt.get || opt.reset || !option || prefix)
|
if (opt.get || opt.reset || !option || prefix)
|
||||||
return [0, []];
|
return [0, []];
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user