0
0
mirror of https://github.com/vim/vim.git synced 2025-07-26 11:04:33 -04:00
vim/runtime/syntax/testdir/input/vim_ex_highlight.vim

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

61 lines
1.1 KiB
VimL
Raw Normal View History

" Vim :highlight command
" list
highlight
highlight Comment
" reset
highlight clear
" disable
highlight clear Comment
highlight clear ErrorMsg
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
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
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"