mirror of
https://github.com/neovim/neovim.git
synced 2025-10-05 17:36:29 +00:00
fix(highlight): add missing g: prefix for colors_name (#22952)
Fix #22951. This was fixed in Vim in patch 8.2.0613.
This commit is contained in:
@@ -1003,7 +1003,7 @@ void do_highlight(const char *line, const bool forceit, const bool init)
|
||||
// ":highlight clear [group]" command.
|
||||
line = linep;
|
||||
if (ends_excmd((uint8_t)(*line))) {
|
||||
do_unlet(S_LEN("colors_name"), true);
|
||||
do_unlet(S_LEN("g:colors_name"), true);
|
||||
restore_cterm_colors();
|
||||
|
||||
// Clear all default highlight groups and load the defaults.
|
||||
|
Reference in New Issue
Block a user