nvim-treesitter/runtime/queries/ziggy_schema/highlights.scm
Christian Clason 4eb12d7a1f feat(ziggy,ziggy-schema): update parser and queries
Breaking change: ziggy-schema removed "map" node
2025-07-09 10:30:54 +02:00

48 lines
423 B
Scheme

(struct_field
key: (_) @keyword)
(tag_name) @function
[
"unknown"
"any"
"struct"
"root"
"enum"
"null"
] @keyword
(string) @string
(number) @number
[
"true"
"false"
] @boolean
(identifier) @type
"?" @type
[
"bool"
"bytes"
"int"
"float"
] @constant.builtin
(doc_comment) @comment.documentation
[
","
":"
"|"
] @punctuation.delimiter
[
"["
"]"
"{"
"}"
] @punctuation.bracket