forked from solstice/solstice
Update syntax highlighting
This commit is contained in:
@@ -7,10 +7,12 @@ endif
|
|||||||
" Keywords
|
" Keywords
|
||||||
syn keyword solsticeConditional if
|
syn keyword solsticeConditional if
|
||||||
syn keyword solsticeRepeat while
|
syn keyword solsticeRepeat while
|
||||||
|
syn keyword solsticeKeyword def struct return
|
||||||
|
syn keyword solsticeType int string bool double char
|
||||||
syn keyword solsticeBoolean true false
|
syn keyword solsticeBoolean true false
|
||||||
|
|
||||||
" Built-in functions
|
" Built-in functions
|
||||||
syn keyword solsticeBuiltin puts println input
|
syn keyword solsticeBuiltin puts print println input
|
||||||
|
|
||||||
" Data Types
|
" Data Types
|
||||||
syn match solsticeNumber "\d\+\(\.\d\+\)\="
|
syn match solsticeNumber "\d\+\(\.\d\+\)\="
|
||||||
@@ -26,6 +28,8 @@ syn match solsticeDelimiter "[{()}]"
|
|||||||
|
|
||||||
hi def link solsticeConditional Conditional
|
hi def link solsticeConditional Conditional
|
||||||
hi def link solsticeRepeat Repeat
|
hi def link solsticeRepeat Repeat
|
||||||
|
hi def link solsticeKeyword Keyword
|
||||||
|
hi def link solsticeType Type
|
||||||
hi def link solsticeBoolean Boolean
|
hi def link solsticeBoolean Boolean
|
||||||
hi def link solsticeBuiltin Function
|
hi def link solsticeBuiltin Function
|
||||||
hi def link solsticeNumber Number
|
hi def link solsticeNumber Number
|
||||||
|
|||||||
Reference in New Issue
Block a user