mirror of
https://github.com/vim/vim.git
synced 2025-10-09 06:14:17 -04:00
runtime(vim): vimHLGroup is not highlighted correctly
Problem: vimHLGroup is not highlighted in "hi def link" and "hi clear" commands Solution: highlight vimHLGroup similarly to vimGroup (Eisuke Kawashima) closes: #17450 Signed-off-by: Eisuke Kawashima <e-kwsm@users.noreply.github.com> Signed-off-by: Doug Kearns <dougkearns@gmail.com> Signed-off-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
committed by
Christian Brabandt
parent
6acca4bc59
commit
834bb85172
@@ -9,6 +9,7 @@ highlight clear
|
||||
|
||||
" disable
|
||||
highlight clear Comment
|
||||
highlight clear ErrorMsg
|
||||
highlight Comment NONE
|
||||
|
||||
" add/modify
|
||||
@@ -20,12 +21,16 @@ highlight link Foo Comment
|
||||
highlight! link Foo Comment
|
||||
highlight link Foo NONE
|
||||
highlight! link Foo NONE
|
||||
highlight link Foo ErrorMsg
|
||||
highlight! link Foo ErrorMsg
|
||||
|
||||
" default link
|
||||
highlight default link Foo Comment
|
||||
highlight! default link Foo Comment
|
||||
highlight default link Foo NONE
|
||||
highlight! default link Foo NONE
|
||||
highlight default link Foo ErrorMsg
|
||||
highlight! default link Foo ErrorMsg
|
||||
|
||||
|
||||
" line continuation and command separator
|
||||
|
Reference in New Issue
Block a user