nvim-treesitter/queries/chatito/highlights.scm
Jaehwang Jung 5d75359a9a feat(highlights)!: remove non-keyword @type.qualifier
* blueprint: Don't specially highlight template_name_qualifier. This is
  similar to inheritance base class. Other languages don't highlight
  them specially.
* eds: `@type` for all `*Type` keys
* chatito: `@attribute` for variation
2024-03-16 20:51:16 +08:00

54 lines
558 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