summaryrefslogtreecommitdiff
path: root/runtime/queries/godot-resource/highlights.scm
blob: d8a69f655a68d76c841d939c2ff865576bfccbe1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
(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