summaryrefslogtreecommitdiffstats
path: root/src/drawline.c
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-10-20 13:16:22 +0200
committerBram Moolenaar <Bram@vim.org>2019-10-20 13:16:22 +0200
commit82260afb0ec358f50df9816511f480d455a1cdac (patch)
treeea4e2bb13a8532117eb33f79ae38d3b61af372d6 /src/drawline.c
parent2b78ab5d0c91c229715ae140a34978506343bde3 (diff)
patch 8.1.2189: syntax highlighting wrong for tabv8.1.2189
Problem: Syntax highlighting wrong for tab. Solution: Don't clear syntax attribute n_extra is non-zero.
Diffstat (limited to 'src/drawline.c')
-rw-r--r--src/drawline.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/drawline.c b/src/drawline.c
index a13c330c51..ac37928427 100644
--- a/src/drawline.c
+++ b/src/drawline.c
@@ -1400,9 +1400,9 @@ win_line(
#endif
#ifdef FEAT_SYN_HL
- syntax_attr = 0;
if (extra_check && n_extra == 0)
{
+ syntax_attr = 0;
# ifdef FEAT_TERMINAL
if (get_term_attr)
syntax_attr = term_get_attr(wp->w_buffer, lnum, vcol);