c71b4c5579
* update grammar for gdscript. * add comment injections for gdscript. * add indent for gdscript * add file-type support for godot-resource
29 lines
431 B
Scheme
29 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
|