mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 13:28:19 +00:00
vim-patch:8.0.1621: using invalid default value for highlight attribute
Problem: Using invalid default value for highlight attribute.
Solution: Use zero instead of -1.
6185903e3d
This commit is contained in:
@@ -7569,8 +7569,8 @@ void highlight_changed(void)
|
|||||||
{
|
{
|
||||||
int id;
|
int id;
|
||||||
char_u userhl[30]; // use 30 to avoid compiler warning
|
char_u userhl[30]; // use 30 to avoid compiler warning
|
||||||
int id_SNC = -1;
|
|
||||||
int id_S = -1;
|
int id_S = -1;
|
||||||
|
int id_SNC = 0;
|
||||||
int hlcnt;
|
int hlcnt;
|
||||||
|
|
||||||
need_highlight_changed = FALSE;
|
need_highlight_changed = FALSE;
|
||||||
|
Reference in New Issue
Block a user