mirror of
https://github.com/neovim/neovim.git
synced 2025-09-18 17:28:23 +00:00
fix(highlight): 'winhl' shouldn't take priority over API (#31288)
This commit is contained in:
@@ -476,6 +476,7 @@ void nvim_win_set_hl_ns(Window window, Integer ns_id, Error *err)
|
||||
}
|
||||
|
||||
win->w_ns_hl = (NS)ns_id;
|
||||
win->w_ns_hl_winhl = -1;
|
||||
win->w_hl_needs_update = true;
|
||||
redraw_later(win, UPD_NOT_VALID);
|
||||
}
|
||||
|
Reference in New Issue
Block a user