mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
patch 8.0.0672: third item of synconcealed() changes too often
Problem: Third item of synconcealed() changes too often. (Dominique Pelle) Solution: Reset the sequence number at the start of each line.
This commit is contained in:
@@ -1061,6 +1061,7 @@ syn_start_line(void)
|
||||
|
||||
next_match_idx = -1;
|
||||
++current_line_id;
|
||||
next_seqnr = 1;
|
||||
}
|
||||
|
||||
/*
|
||||
@@ -1857,6 +1858,7 @@ get_syntax_attr(
|
||||
#endif
|
||||
#ifdef FEAT_CONCEAL
|
||||
current_flags = 0;
|
||||
current_seqnr = 0;
|
||||
#endif
|
||||
return 0;
|
||||
}
|
||||
@@ -2346,6 +2348,7 @@ syn_current_attr(
|
||||
#endif
|
||||
#ifdef FEAT_CONCEAL
|
||||
current_flags = 0;
|
||||
current_seqnr = 0;
|
||||
#endif
|
||||
if (cur_si != NULL)
|
||||
{
|
||||
|
Reference in New Issue
Block a user