diff options
author | Björn Linse <bjorn.linse@gmail.com> | 2015-03-21 13:48:29 +0100 |
---|---|---|
committer | Björn Linse <bjorn.linse@gmail.com> | 2015-03-21 13:48:29 +0100 |
commit | 19ca54b9692e414d8881b87eebe9b681af76c42d (patch) | |
tree | 3ae97f9b413f2ac46710a4ea8aa4e70455a1f868 /src/nvim/syntax.c | |
parent | 4fc0291c730f3c42df4692dd91b09cfd806479d7 (diff) | |
download | rneovim-19ca54b9692e414d8881b87eebe9b681af76c42d.tar.gz rneovim-19ca54b9692e414d8881b87eebe9b681af76c42d.tar.bz2 rneovim-19ca54b9692e414d8881b87eebe9b681af76c42d.zip |
syntax: let first syntax item seqnr be 1 instead of 0
in screen.c:win_line seqnr 0 represents the state: no current syntax
item
Diffstat (limited to 'src/nvim/syntax.c')
-rw-r--r-- | src/nvim/syntax.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/syntax.c b/src/nvim/syntax.c index 3f9466fd7c..0da79cb8ae 100644 --- a/src/nvim/syntax.c +++ b/src/nvim/syntax.c @@ -319,7 +319,7 @@ static char msg_no_items[] = N_("No Syntax items defined for this buffer"); #define ID_LIST_ALL (short *)-1 /* valid of si_cont_list for containing all but contained groups */ -static int next_seqnr = 0; /* value to use for si_seqnr */ +static int next_seqnr = 1; /* value to use for si_seqnr */ /* * The next possible match in the current line for any pattern is remembered, |