mirror of
https://shylinux.com/x/ContextOS
synced 2025-04-25 16:58:06 +08:00
add js.vim
This commit is contained in:
parent
afa5ee76e1
commit
7c4e181d57
21
etc/conf/javascript.vim
Normal file
21
etc/conf/javascript.vim
Normal 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"
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user