mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add color
This commit is contained in:
parent
2b8b6f51d8
commit
958e35fe4b
@ -1,2 +1,14 @@
|
|||||||
highlight goComment cterm=reverse ctermfg=yellow
|
syntax match Comment "Name: \"[^\"]*\""
|
||||||
|
syntax match Comment "Help: \"[^\"]*\""
|
||||||
|
|
||||||
|
highlight kitConst ctermfg=yellow
|
||||||
|
syntax match kitConst "kit\.[a-zA-Z_.]*"
|
||||||
|
|
||||||
|
highlight msgConst ctermfg=cyan
|
||||||
|
syntax match msgConst "m\.[a-zA-Z_.]*"
|
||||||
|
syntax match msgConst "msg\.[a-zA-Z_.]*"
|
||||||
|
syntax match msgConst "sub\.[a-zA-Z_.]*"
|
||||||
|
|
||||||
|
" highlight iceConst ctermfg=darkgreen
|
||||||
|
" syntax match iceConst "ice\.[a-zA-Z_.]*"
|
||||||
|
|
||||||
|
@ -1,2 +1,13 @@
|
|||||||
highlight javaScriptComment cterm=reverse ctermfg=yellow
|
highlight canConst ctermfg=yellow
|
||||||
highlight Comment cterm=reverse ctermfg=yellow
|
syntax match canConst "can"
|
||||||
|
syntax match canConst "can\.base"
|
||||||
|
syntax match canConst "can\.core"
|
||||||
|
syntax match canConst "can\.misc"
|
||||||
|
syntax match canConst "can\.page"
|
||||||
|
syntax match canConst "can\.user"
|
||||||
|
|
||||||
|
highlight msgConst ctermfg=cyan
|
||||||
|
syntax match msgConst "m\.[a-zA-Z_.]*"
|
||||||
|
syntax match msgConst "msg\.[a-zA-Z_.]*"
|
||||||
|
syntax match msgConst "sub\.[a-zA-Z_.]*"
|
||||||
|
|
||||||
|
@ -163,7 +163,7 @@ endif
|
|||||||
cnoremap RR :source ~/.vimrc<CR>
|
cnoremap RR :source ~/.vimrc<CR>
|
||||||
|
|
||||||
colorscheme torte
|
colorscheme torte
|
||||||
highlight Comment cterm=reverse ctermfg=yellow
|
highlight Comment ctermfg=cyan ctermbg=darkblue
|
||||||
"}}}
|
"}}}
|
||||||
"
|
"
|
||||||
nnoremap <F3> :NERDTreeToggle<CR>
|
nnoremap <F3> :NERDTreeToggle<CR>
|
||||||
|
Loading…
x
Reference in New Issue
Block a user