aboutsummaryrefslogtreecommitdiff
path: root/runtime/colors/vim.lua
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 /runtime/colors/vim.lua
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 'runtime/colors/vim.lua')
-rw-r--r--runtime/colors/vim.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/runtime/colors/vim.lua b/runtime/colors/vim.lua
index dd3e83c653..dd59e5075d 100644
--- a/runtime/colors/vim.lua
+++ b/runtime/colors/vim.lua
@@ -60,7 +60,7 @@ hi('PmenuMatch', { link = 'Pmenu' })
hi('PmenuMatchSel', { link = 'PmenuSel' })
hi('PmenuExtra', { link = 'Pmenu' })
hi('PmenuExtraSel', { link = 'PmenuSel' })
-hi('ComplMatchIns', { link = 'Normal' })
+hi('ComplMatchIns', {})
hi('Substitute', { link = 'Search' })
hi('Whitespace', { link = 'NonText' })
hi('MsgSeparator', { link = 'StatusLine' })