mirror of
https://github.com/neovim/neovim.git
synced 2025-09-23 11:38:31 +00:00
vim-patch:7.4.405
Problem: Screen updating is slow when using matches. Solution: Do not use the ">=" as in patch 7.4.362, check the lnum. https://code.google.com/p/vim/source/detail?r=v7-4-405
This commit is contained in:
@@ -2948,7 +2948,7 @@ win_line (
|
||||
&& v >= (long)shl->startcol
|
||||
&& v < (long)shl->endcol) {
|
||||
shl->attr_cur = shl->attr;
|
||||
} else if (v >= (long)shl->endcol) {
|
||||
} else if (v >= (long)shl->endcol && shl->lnum == lnum) {
|
||||
shl->attr_cur = 0;
|
||||
|
||||
next_search_hl(wp, shl, lnum, (colnr_T)v, cur);
|
||||
|
Reference in New Issue
Block a user