2024-04-11 19:33:52 +02:00
|
|
|
(comment) @comment
|
2024-04-08 21:38:24 +02:00
|
|
|
|
2024-04-08 21:54:35 +02:00
|
|
|
; Operators {{{
|
|
|
|
(operator) @operator
|
2024-04-08 21:58:17 +02:00
|
|
|
|
|
|
|
(integer_literal ("-") @operator)
|
2024-04-08 21:54:35 +02:00
|
|
|
; }}}
|
|
|
|
|
2024-04-08 22:31:38 +02:00
|
|
|
; Punctuation {{{
|
|
|
|
[
|
|
|
|
","
|
|
|
|
":"
|
|
|
|
] @punctuation.delimiter
|
|
|
|
|
|
|
|
[
|
|
|
|
"("
|
|
|
|
")"
|
|
|
|
"["
|
|
|
|
"]"
|
|
|
|
"{"
|
|
|
|
"}"
|
|
|
|
] @punctuation.bracket
|
|
|
|
; }}}
|
|
|
|
|
2024-04-08 21:47:55 +02:00
|
|
|
; Literal {{{
|
|
|
|
(boolean_literal) @boolean
|
|
|
|
|
|
|
|
(integer_literal) @number
|
|
|
|
|
|
|
|
[
|
|
|
|
(raw_string_literal)
|
|
|
|
(interpreted_string_literal)
|
|
|
|
] @string
|
|
|
|
|
|
|
|
(escape_sequence) @string.escape
|
|
|
|
; }}}
|
|
|
|
|
2024-04-08 21:51:39 +02:00
|
|
|
; Declarations {{{
|
|
|
|
(identifier) @variable
|
2024-04-08 22:28:18 +02:00
|
|
|
|
|
|
|
(module
|
2024-04-10 17:21:07 +02:00
|
|
|
type: (identifier) @function.call)
|
2024-04-08 22:28:18 +02:00
|
|
|
|
|
|
|
(module
|
|
|
|
(property
|
2024-04-10 17:21:07 +02:00
|
|
|
field: (identifier) @variable.parameter))
|
2024-04-08 21:51:39 +02:00
|
|
|
; }}}
|
|
|
|
|
2024-04-08 23:13:23 +02:00
|
|
|
; Built-ins {{{
|
|
|
|
[
|
|
|
|
(unset)
|
2024-04-09 14:08:02 +02:00
|
|
|
(default)
|
2024-04-08 23:13:23 +02:00
|
|
|
] @variable.builtin
|
|
|
|
(selection_type) @function.builtin
|
|
|
|
; }}}
|
|
|
|
|
2024-04-08 22:35:55 +02:00
|
|
|
; Expressions {{{
|
|
|
|
(map_expression
|
|
|
|
(property
|
|
|
|
field: (identifier) @property))
|
2024-04-08 23:13:23 +02:00
|
|
|
|
|
|
|
(select_expression
|
|
|
|
"select" @keyword.conditional)
|
2024-04-08 22:35:55 +02:00
|
|
|
; }}}
|
|
|
|
|
2024-04-08 21:38:24 +02:00
|
|
|
; vim: sw=2 foldmethod=marker
|