mirror of
https://github.com/neovim/neovim.git
synced 2025-09-12 06:18:16 +00:00
vim-patch: 7.4.343
Problem: matchdelete() does not always update the right lines. Solution: Fix off-by-one error. (Ozaki Kiichi) https://code.google.com/p/vim/source/detail?r=539ce56d8f35fe2deb5c4f57335e1adf97ae4e74
This commit is contained in:
@@ -252,7 +252,7 @@ static int included_patches[] = {
|
|||||||
346,
|
346,
|
||||||
//345,
|
//345,
|
||||||
//344,
|
//344,
|
||||||
//343,
|
343,
|
||||||
//342 NA
|
//342 NA
|
||||||
//341,
|
//341,
|
||||||
//340 NA
|
//340 NA
|
||||||
|
@@ -5315,8 +5315,8 @@ int match_add(win_T *wp, char_u *grp, char_u *pat, int prio, int id, list_T *pos
|
|||||||
if (toplnum == 0 || lnum < toplnum) {
|
if (toplnum == 0 || lnum < toplnum) {
|
||||||
toplnum = lnum;
|
toplnum = lnum;
|
||||||
}
|
}
|
||||||
if (botlnum == 0 || lnum > botlnum) {
|
if (botlnum == 0 || lnum >= botlnum) {
|
||||||
botlnum = lnum;
|
botlnum = lnum + 1;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Reference in New Issue
Block a user