2023-04-27 16:32:21 +02:00
|
|
|
(keyword) @keyword
|
|
|
|
(operator) @operator
|
2022-05-05 19:09:09 +02:00
|
|
|
|
2023-04-27 16:32:21 +02:00
|
|
|
(int_literal) @constant.numeric.integer
|
|
|
|
(float_literal) @constant.numeric.float
|
|
|
|
(rune_literal) @constant.character
|
|
|
|
(bool_literal) @constant.builtin.boolean
|
|
|
|
(nil) @constant.builtin
|
2022-05-05 19:09:09 +02:00
|
|
|
|
2023-04-27 16:32:21 +02:00
|
|
|
(type_identifier) @type
|
|
|
|
(package_identifier) @namespace
|
|
|
|
(label_identifier) @label
|
2022-05-05 19:09:09 +02:00
|
|
|
|
2023-04-27 16:32:21 +02:00
|
|
|
(interpreted_string_literal) @string
|
|
|
|
(raw_string_literal) @string
|
2022-05-05 19:09:09 +02:00
|
|
|
(escape_sequence) @constant.character.escape
|
|
|
|
|
2023-04-27 16:32:21 +02:00
|
|
|
(comment) @comment
|
|
|
|
(const_identifier) @constant
|
2022-05-05 19:09:09 +02:00
|
|
|
|
|
|
|
|
2023-04-27 16:32:21 +02:00
|
|
|
(compiler_directive) @keyword.directive
|
|
|
|
(calling_convention) @string.special.symbol
|
2022-05-05 19:09:09 +02:00
|
|
|
|
2023-04-27 16:32:21 +02:00
|
|
|
(identifier) @variable
|
|
|
|
(pragma_identifier) @keyword.directive
|