mirror of https://github.com/marrub--/vim-zscript
add keywords
parent
4a76e2a139
commit
d4aff53bfb
|
@ -1,3 +1,3 @@
|
||||||
au BufRead,BufNewFile *.zsc setfiletype zscript
|
au BufRead,BufNewFile *.zsc setf zscript
|
||||||
|
|
||||||
" EOF
|
" EOF
|
||||||
|
|
|
@ -8,20 +8,24 @@ let b:current_syntax="zscript"
|
||||||
|
|
||||||
sy case ignore
|
sy case ignore
|
||||||
|
|
||||||
|
sy sync minlines=200
|
||||||
|
sy sync maxlines=500
|
||||||
|
|
||||||
" Class Definitions ----------------------------------------------------------|
|
" Class Definitions ----------------------------------------------------------|
|
||||||
|
|
||||||
sy keyword zscType int8 uint8 int16 uint16 int uint float double float32 float64 string vector2 vector3 bool textureid spriteid statelabel void array map voidptr let
|
sy keyword zscType int8 uint8 int16 uint16 int uint float double float32 float64 string vector2 vector3 bool textureid spriteid statelabel void array map voidptr color sound sbyte byte short ushort name
|
||||||
|
sy match zscType /@/
|
||||||
|
|
||||||
sy keyword zscStorage class struct enum const property extend
|
sy keyword zscStorage class struct enum const property extend flagdef let
|
||||||
|
|
||||||
sy keyword zscFlag abstract ui play replaces native version clearscope private protected meta transient readonly deprecated static virtualscope virtual override final action vararg internal
|
sy keyword zscFlag abstract ui play replaces native version clearscope private protected meta transient readonly deprecated static virtualscope virtual override final action vararg internal latent
|
||||||
|
|
||||||
sy keyword zscStatement in out sizeof alignof is new self invoker
|
sy keyword zscStatement in out sizeof alignof is new self invoker
|
||||||
sy match zscStatement "#include"
|
sy match zscStatement "#include"
|
||||||
|
|
||||||
sy keyword zscConstant false true null
|
sy keyword zscConstant false true null
|
||||||
|
|
||||||
sy keyword zscTodo contained TODO FIXME
|
sy keyword zscTodo contained TODO FIXME HACK XXX NB NOTE
|
||||||
|
|
||||||
sy region zscComment start="/\*" end="\*/" contains=zscTodo,@Spell
|
sy region zscComment start="/\*" end="\*/" contains=zscTodo,@Spell
|
||||||
sy match zscComment "//.*$" contains=zscTodo,@Spell
|
sy match zscComment "//.*$" contains=zscTodo,@Spell
|
||||||
|
|
Loading…
Reference in New Issue