helix-mirror/runtime/queries/godot-resource/highlights.scm
Erasin c71b4c5579
Update grammar for godot (#5944)
* update grammar for gdscript.
* add comment injections for gdscript.
* add indent for gdscript
* add file-type support for godot-resource
2023-02-12 14:03:02 -06:00

30 lines
431 B
Scheme

(section (identifier) @type.builtin)
(attribute (identifier) @attribute)
(property (path) @variable.other.member)
(constructor (identifier) @constructor)
(string) @string
(integer) @constant.numeric.integer
(float) @constant.numeric.float
(true) @constant.builtin.boolean
(false) @constant.builtin.boolean
[
"["
"]"
] @tag
[
"("
")"
"{"
"}"
] @punctuation.bracket
"=" @operator
(ERROR) @error
(comment) @comment