2022-12-07 11:58:45 +03:00
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
2023-06-16 00:43:30 +03:00
|
|
|
(container_key) @string.special
|
2022-12-07 23:14:25 +03:00
|
|
|
(shape_key) @variable
|
2022-12-08 01:15:09 +03:00
|
|
|
(attr_key) @property
|
2022-12-09 12:36:31 +03:00
|
|
|
(reserved) @error
|
2023-06-16 00:43:30 +03:00
|
|
|
[
|
|
|
|
(keyword_style)
|
|
|
|
(keyword_classes)
|
|
|
|
(keyword_class)
|
|
|
|
] @keyword
|
|
|
|
(class_name) @constant
|
2022-12-07 11:58:45 +03:00
|
|
|
|
2022-12-07 12:09:27 +03:00
|
|
|
; Literals
|
2022-12-07 11:58:45 +03:00
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
2022-12-10 05:23:27 +03:00
|
|
|
(string) @string
|
|
|
|
(container_key (string (string_fragment) @string))
|
|
|
|
(shape_key (string (string_fragment) @string))
|
|
|
|
(escape_sequence) @string.escape
|
|
|
|
(label) @text.title
|
2022-12-07 11:58:45 +03:00
|
|
|
(attr_value) @string
|
2022-12-09 19:05:04 +03:00
|
|
|
(integer) @number
|
|
|
|
(float) @float
|
|
|
|
(boolean) @boolean
|
2022-12-07 11:58:45 +03:00
|
|
|
|
2022-12-07 12:09:27 +03:00
|
|
|
; Comments
|
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
2023-06-16 07:34:32 +03:00
|
|
|
[
|
|
|
|
(language)
|
|
|
|
(line_comment)
|
|
|
|
(block_comment)
|
|
|
|
] @comment
|
2022-12-07 12:09:27 +03:00
|
|
|
|
|
|
|
; Punctiation
|
2022-12-07 11:58:45 +03:00
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
(arrow) @operator
|
|
|
|
|
|
|
|
[
|
2022-12-08 01:15:09 +03:00
|
|
|
(dot)
|
2022-12-07 11:58:45 +03:00
|
|
|
":"
|
|
|
|
";"
|
|
|
|
] @punctuation.delimiter
|
|
|
|
|
|
|
|
[
|
2023-06-16 00:43:30 +03:00
|
|
|
"["
|
|
|
|
"]"
|
2022-12-07 11:58:45 +03:00
|
|
|
"{"
|
|
|
|
"}"
|
2022-12-09 19:05:04 +03:00
|
|
|
"|"
|
2022-12-07 11:58:45 +03:00
|
|
|
] @punctuation.bracket
|
|
|
|
|
2022-12-09 22:31:39 +03:00
|
|
|
; Special
|
2022-12-07 11:58:45 +03:00
|
|
|
;-------------------------------------------------------------------------------
|
|
|
|
|
|
|
|
(ERROR) @error
|