Dmitriy Pleshevskiy
be8db7ca48
![image](/attachments/5bf879cc-b94c-414e-b69b-92cbc018671e) Co-authored-by: Dmitriy Pleshevskiy <dmitriy@ideascup.me> Reviewed-on: #1
40 lines
846 B
Scheme
40 lines
846 B
Scheme
;-------------------------------------------------------------------------------
|
|
|
|
(container_key) @constant
|
|
(shape_key) @variable
|
|
(attr_key) @property
|
|
(reserved) @error
|
|
|
|
; Literals
|
|
;-------------------------------------------------------------------------------
|
|
|
|
(container_key (string) @string.special)
|
|
(shape_key (string) @string)
|
|
(label) @string
|
|
(attr_value) @string
|
|
|
|
; Comments
|
|
;-------------------------------------------------------------------------------
|
|
|
|
(line_comment) @comment.line
|
|
|
|
; Punctiation
|
|
;-------------------------------------------------------------------------------
|
|
|
|
(arrow) @operator
|
|
|
|
[
|
|
(dot)
|
|
":"
|
|
";"
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"{"
|
|
"}"
|
|
] @punctuation.bracket
|
|
|
|
; Special (nvim-treesitter overwrite previous rules)
|
|
;-------------------------------------------------------------------------------
|
|
|
|
(ERROR) @error
|