mirror of
https://github.com/neovim/neovim.git
synced 2025-09-29 14:38:32 +00:00
fix(options): fix 'winhl' still accepting invalid value (#30896)
This commit is contained in:
@@ -1853,6 +1853,9 @@ bool parse_winhl_opt(win_T *wp)
|
||||
return false;
|
||||
}
|
||||
int hl_id_link = nlen ? syn_check_group(p, nlen) : 0;
|
||||
if (hl_id_link == 0) {
|
||||
return false;
|
||||
}
|
||||
|
||||
HlAttrs attrs = HLATTRS_INIT;
|
||||
attrs.rgb_ae_attr |= HL_GLOBAL;
|
||||
|
Reference in New Issue
Block a user