1
0
Fork 0
vim/runtime/syntax/testdir/input/vim_ex_highlight.vim
Daniel Baumann 0985b09abd
Adding upstream version 2:9.1.1230.
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
2025-06-21 11:09:31 +02:00

55 lines
937 B
VimL

" Vim :highlight command
" list
highlight
highlight Comment
" reset
highlight clear
" disable
highlight clear Comment
highlight Comment NONE
" add/modify
highlight Comment cterm=underline
highlight default Comment term=bold
" link
highlight link Foo Comment
highlight! link Foo Comment
highlight link Foo NONE
highlight! link Foo NONE
" default link
highlight default link Foo Comment
highlight! default link Foo Comment
highlight default link Foo NONE
highlight! default link Foo NONE
" line continuation and command separator
hi Comment
"\ comment
\ term=bold
"\ comment
\ ctermfg=Cyan
\ guifg=#80a0ff
\ gui=bold
hi Comment
\ term=bold
\ ctermfg=Cyan
\ guifg=#80a0ff
\ gui=bold | echo "Foo"
hi Comment term=bold ctermfg=Cyan guifg=#80a0ff gui=bold | echo "Foo"
hi default link
\ Foo
\ Comment
hi default link
\ Foo
\ Comment | echo "Foo"