aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/screen.c
diff options
context:
space:
mode:
authorJustin M. Keyes <justinkz@gmail.com>2017-03-21 13:26:02 +0100
committerJustin M. Keyes <justinkz@gmail.com>2017-03-22 18:42:59 +0100
commitcd9fc4627ecf4d675e2c221b614cc2eb40aabf9c (patch)
tree8ae00ff039c61d4c542126da5c40b54970d44574 /src/nvim/screen.c
parent5ee211770d9c7999a01413f368e82588f3d0426d (diff)
downloadrneovim-cd9fc4627ecf4d675e2c221b614cc2eb40aabf9c.tar.gz
rneovim-cd9fc4627ecf4d675e2c221b614cc2eb40aabf9c.tar.bz2
rneovim-cd9fc4627ecf4d675e2c221b614cc2eb40aabf9c.zip
vim-patch:8.0.0049
Problem: When a match ends in part of concealed text highlighting, it might mess up concealing by resetting prev_syntax_id. Solution: Do not reset prev_syntax_id and add a test to verify. (Christian Brabandt, closes vim/vim#1092) https://github.com/vim/vim/commit/2f97912800e86a296c001832bbbf2fc425f1e533
Diffstat (limited to 'src/nvim/screen.c')
-rw-r--r--src/nvim/screen.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c
index b98e59ed06..280b8c65fe 100644
--- a/src/nvim/screen.c
+++ b/src/nvim/screen.c
@@ -2922,7 +2922,6 @@ win_line (
}
} else if (v == (long)shl->endcol) {
shl->attr_cur = 0;
- prev_syntax_id = 0;
next_search_hl(wp, shl, lnum, (colnr_T)v,
shl == &search_hl ? NULL : cur);