2023-04-27 18:32:21 +04:00
|
|
|
(keyword) @keyword
|
|
|
|
(operator) @operator
|
2022-05-05 21:09:09 +04:00
|
|
|
|
2023-04-27 18:32:21 +04: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 21:09:09 +04:00
|
|
|
|
2023-04-27 18:32:21 +04:00
|
|
|
(type_identifier) @type
|
|
|
|
(package_identifier) @namespace
|
|
|
|
(label_identifier) @label
|
2022-05-05 21:09:09 +04:00
|
|
|
|
2023-04-27 18:32:21 +04:00
|
|
|
(interpreted_string_literal) @string
|
|
|
|
(raw_string_literal) @string
|
2022-05-05 21:09:09 +04:00
|
|
|
(escape_sequence) @constant.character.escape
|
|
|
|
|
2023-04-27 18:32:21 +04:00
|
|
|
(comment) @comment
|
|
|
|
(const_identifier) @constant
|
2022-05-05 21:09:09 +04:00
|
|
|
|
|
|
|
|
2023-04-27 18:32:21 +04:00
|
|
|
(compiler_directive) @keyword.directive
|
|
|
|
(calling_convention) @string.special.symbol
|
2022-05-05 21:09:09 +04:00
|
|
|
|
2023-04-27 18:32:21 +04:00
|
|
|
(identifier) @variable
|
|
|
|
(pragma_identifier) @keyword.directive
|