patch 9.1.0945: ComplMatchIns highlight doesn't end after inserted text
Problem: ComplMatchIns highlight doesn't end after inserted text.
Solution: Handle ComplMatchIns highlight more like search highlight.
Fix off-by-one error. Handle deleting text properly.
(zeertzjq)
closes: #16244
Signed-off-by: zeertzjq <zeertzjq@outlook.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
beccb33977
commit
f25d8f9312
@ -262,7 +262,7 @@ static char *(highlight_init_both[]) = {
|
||||
"default link PmenuMatchSel PmenuSel",
|
||||
"default link PmenuExtra Pmenu",
|
||||
"default link PmenuExtraSel PmenuSel",
|
||||
"default link ComplMatchIns Normal",
|
||||
CENT("ComplMatchIns cterm=NONE", "ComplMatchIns gui=NONE"),
|
||||
CENT("Normal cterm=NONE", "Normal gui=NONE"),
|
||||
NULL
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user