summaryrefslogtreecommitdiff
path: root/runtime/queries/odin/highlights.scm
blob: d474bf3a221f9b9edc1720ee8a06678a2bb2ec48 (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
(keyword) @keyword
(operator) @operator

(int_literal)   @constant.numeric.integer
(float_literal) @constant.numeric.float
(rune_literal)  @constant.character
(bool_literal) @constant.builtin.boolean
(nil) @constant.builtin

(type_identifier)    @type
(package_identifier) @namespace
(label_identifier)   @label

(interpreted_string_literal) @string
(raw_string_literal) @string
(escape_sequence) @constant.character.escape

(comment) @comment
(const_identifier) @constant


(compiler_directive) @keyword.directive
(calling_convention) @string.special.symbol

(identifier) @variable
(pragma_identifier) @keyword.directive