mirror of
https://github.com/neovim/neovim.git
synced 2025-09-10 05:18:16 +00:00
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
This commit is contained in:
@@ -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
|
#define ID_LIST_ALL (short *)-1 /* valid of si_cont_list for containing all
|
||||||
but contained groups */
|
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,
|
* The next possible match in the current line for any pattern is remembered,
|
||||||
|
Reference in New Issue
Block a user