Files
nvim-treesitter/runtime/queries/chatito/highlights.scm
Christian Clason f14b356d54 feat(chatito)!: update parser and queries
node `(eq)` is replaced by field `eq: _`
2025-07-20 11:53:37 +02:00

55 lines
559 B
Scheme

; Punctuation
[
"%["
"@["
"~["
"*["
"]"
"("
")"
] @punctuation.bracket
"," @punctuation.delimiter
eq: _ @operator
([
"\""
"'"
] @punctuation.special
(#set! conceal ""))
[
"%"
"?"
"#"
] @character.special
; Entities
(intent) @module
(slot) @type
(variation) @attribute
(alias) @keyword.directive
(number) @number
(argument
key: (string) @property
value: (string) @string)
(escape) @string.escape
; Import
"import" @keyword.import
(file) @string.special.path
; Text
(word) @spell
; Comment
(comment) @comment @spell