aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/highlight_group.c
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-12-19 07:59:03 +0800
committerGitHub <noreply@github.com>2024-12-18 23:59:03 +0000
commit02bc40c19401ea9f7529cbc81bd18bd01c39bb3c (patch)
treea1995161f84fe7d580aa458aedd5c1bd87df702c /src/nvim/highlight_group.c
parent160cbd0ef4c905b849beb969e8b5a56064c7cea7 (diff)
downloadrneovim-02bc40c19401ea9f7529cbc81bd18bd01c39bb3c.tar.gz
rneovim-02bc40c19401ea9f7529cbc81bd18bd01c39bb3c.tar.bz2
rneovim-02bc40c19401ea9f7529cbc81bd18bd01c39bb3c.zip
vim-patch:9.1.0945: ComplMatchIns highlight doesn't end after inserted text (#31628)
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: vim/vim#16244 https://github.com/vim/vim/commit/f25d8f9312a24da2727671560a865888812ab8d9
Diffstat (limited to 'src/nvim/highlight_group.c')
-rw-r--r--src/nvim/highlight_group.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/highlight_group.c b/src/nvim/highlight_group.c
index 636124a698..2ae15254ea 100644
--- a/src/nvim/highlight_group.c
+++ b/src/nvim/highlight_group.c
@@ -173,7 +173,7 @@ static const char *highlight_init_both[] = {
"default link PmenuKind Pmenu",
"default link PmenuKindSel PmenuSel",
"default link PmenuSbar Pmenu",
- "default link ComplMatchIns Normal",
+ "default link ComplMatchIns NONE",
"default link Substitute Search",
"default link StatusLineTerm StatusLine",
"default link StatusLineTermNC StatusLineNC",