1
0
mirror of https://shylinux.com/x/ContextOS synced 2025-04-26 01:04:06 +08:00

opt shy.vim

This commit is contained in:
shaoying 2020-03-31 11:34:51 +08:00
parent bc750ae744
commit 0786190754

View File

@ -7,12 +7,16 @@ highlight shyString ctermfg=magenta
syn match shyString "\`[^\`]*\`"
syn region shyString start="`" end="`"
highlight shyContext ctermfg=yellow
syntax match shyContext '^\.[a-z\.]*'
highlight shyContext ctermfg=red
syntax match shyContext "\~[a-z\.]\+"
highlight shyCommand ctermfg=yellow
syntax match shyCommand "^\a*"
highlight shyCommand ctermfg=green
syntax match shyCommand "^ \a*"
syntax match shyCommand "^\a\+"
highlight shyConfig ctermfg=yellow
syntax match shyConfig "^ config"
highlight shyTitle ctermbg=darkred ctermfg=white
syntax match shyTitle "^title"