Add keywords highlighting
This commit is contained in:
parent
751929a058
commit
d83fa3acb7
2 changed files with 64 additions and 0 deletions
|
|
@ -1,5 +1,28 @@
|
|||
(comment) @comment
|
||||
|
||||
; Keywords {{{
|
||||
[
|
||||
"array"
|
||||
(break_expression)
|
||||
"do"
|
||||
"else"
|
||||
"end"
|
||||
"for"
|
||||
"function"
|
||||
"if"
|
||||
"import"
|
||||
"in"
|
||||
"let"
|
||||
"of"
|
||||
"primitive"
|
||||
"then"
|
||||
"to"
|
||||
"type"
|
||||
"var"
|
||||
"while"
|
||||
] @keyword
|
||||
; }}}
|
||||
|
||||
; Literals {{{
|
||||
(nil_literal) @constant.builtin
|
||||
(integer_literal) @number
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue