aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/syntax.c
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-21 11:07:07 -0400
committerJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2019-09-21 11:07:59 -0400
commit111d34849a0670842b56c17c3922dbf0576bb39b (patch)
tree49d28617f65267a34f9e630ac25c3918ab302391 /src/nvim/syntax.c
parenteb3888a322304434848ca2f6b1b12b821c9788f4 (diff)
downloadrneovim-111d34849a0670842b56c17c3922dbf0576bb39b.tar.gz
rneovim-111d34849a0670842b56c17c3922dbf0576bb39b.tar.bz2
rneovim-111d34849a0670842b56c17c3922dbf0576bb39b.zip
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. https://github.com/vim/vim/commit/6185903e3d07eb53326fc1403fc2de97ca31b775
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r--src/nvim/syntax.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c
index 5a61238d8c..675d484d67 100644
--- a/src/nvim/syntax.c
+++ b/src/nvim/syntax.c
@@ -7569,8 +7569,8 @@ void highlight_changed(void)
{
int id;
char_u userhl[30]; // use 30 to avoid compiler warning
- int id_SNC = -1;
int id_S = -1;
+ int id_SNC = 0;
int hlcnt;
need_highlight_changed = FALSE;