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

add js.vim

This commit is contained in:
shylinux 2020-02-24 01:39:57 +08:00
parent afa5ee76e1
commit 7c4e181d57

21
etc/conf/javascript.vim Normal file
View File

@ -0,0 +1,21 @@
syntax match Comment "\<Volcanos(\"[^\"]*\""
syntax match Comment "\<shy(\"[^\"]*\""
syntax match Comment "\<help: \"[^\"]*\""
highlight canConst ctermfg=yellow
syntax match canConst "\<can\>"
syntax match canConst "\<msg\>"
highlight msgConst ctermfg=cyan
syntax match msgConst "\<m\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<msg\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<sub\.[a-z0-9A-Z_.]*"
syntax match msgConst "\<can\.[a-z0-9A-Z_]*"
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"