75 lines
925 B
Scheme
75 lines
925 B
Scheme
(comment) @comment @spell
|
|
|
|
[
|
|
"forall"
|
|
"in"
|
|
"let"
|
|
"default"
|
|
"doc"
|
|
"rec"
|
|
] @keyword
|
|
|
|
"fun" @keyword.function
|
|
|
|
"import" @keyword.import
|
|
|
|
[
|
|
"if"
|
|
"then"
|
|
"else"
|
|
] @keyword.conditional
|
|
|
|
"match" @keyword.conditional
|
|
|
|
(types) @type
|
|
|
|
"Array" @type.builtin
|
|
|
|
; BUILTIN Constants
|
|
(bool) @boolean
|
|
|
|
"null" @constant.builtin
|
|
|
|
(num_literal) @number
|
|
|
|
(infix_op) @operator
|
|
|
|
(type_atom) @type
|
|
|
|
(enum_tag) @variable
|
|
|
|
(chunk_literal_single) @string
|
|
|
|
(chunk_literal_multi) @string
|
|
|
|
(str_esc_char) @string.escape
|
|
|
|
[
|
|
"{"
|
|
"}"
|
|
"("
|
|
")"
|
|
"[|"
|
|
"|]"
|
|
] @punctuation.bracket
|
|
|
|
(multstr_start) @punctuation.bracket
|
|
|
|
(multstr_end) @punctuation.bracket
|
|
|
|
(interpolation_start) @punctuation.bracket
|
|
|
|
(interpolation_end) @punctuation.bracket
|
|
|
|
(record_field) @variable.member
|
|
|
|
(builtin) @function.builtin
|
|
|
|
(fun_expr
|
|
pats: (pattern_fun
|
|
(ident) @variable.parameter))
|
|
|
|
(applicative
|
|
t1: (applicative
|
|
(record_operand) @function))
|