Add keywords highlighting

This commit is contained in:
Bruno BELANYI 2022-06-02 22:27:42 +02:00
parent 751929a058
commit d83fa3acb7
2 changed files with 64 additions and 0 deletions

View file

@ -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