mirror of
https://github.com/gryf/pentadactyl-pm.git
synced 2025-12-23 19:52:26 +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 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)
|
||||
return [0, []];
|
||||
|
||||
|
||||
Reference in New Issue
Block a user