nvim-treesitter/queries/godot_resource/highlights.scm
ObserverOfTime d23192fb17 fix(godot_resource): improve highlights
And add a comment injection
2024-01-24 13:47:19 +01:00

49 lines
486 B
Scheme

(identifier) @variable
(section
(identifier) @tag)
(section
[
"["
"]"
] @tag.delimiter)
(attribute
(identifier) @tag.attribute)
(property
(path) @property)
(constructor
(identifier) @constructor)
(string) @string
(integer) @number
(float) @number.float
[
(true)
(false)
] @boolean
(null) @constant.builtin
(array
[
"["
"]"
] @punctuation.bracket)
[
"("
")"
"{"
"}"
] @punctuation.bracket
"=" @operator
(comment) @comment @spell