mirror of
https://github.com/helix-editor/helix
synced 2026-03-07 20:46:21 +01:00
35 lines
933 B
Scheme
35 lines
933 B
Scheme
; Copied from https://github.com/tymbalodeon/tree-sitter-chuck/blob/trunk/queries/highlights.scm
|
|
|
|
"@doc" @special
|
|
"do" @keyword.control.repeat
|
|
"fun" @keyword.function
|
|
"function" @keyword.function
|
|
"if" @keyword.control.conditionl
|
|
"repeat" @keyword.control.repeat
|
|
"return" @keyword.control.return
|
|
"spork" @function.builtin
|
|
"until" @keyword.control.repeat
|
|
"while" @keyword.control.repeat
|
|
|
|
(block_comment) @comment.block
|
|
(boolean_literal_value) @constant.builtin.boolean
|
|
(chuck_operator) @operator
|
|
(class_identifier) @type
|
|
(duration_identifier) @type
|
|
(float) @constant.numeric.float
|
|
|
|
(function_definition name: [
|
|
(class_identifier)
|
|
(variable_identifier)
|
|
] @function)
|
|
|
|
(global_unit_generator) @variable.builtin
|
|
(hexidecimal) @constant.numeric
|
|
(int) @constant.numeric.integer
|
|
(keyword) @keyword
|
|
(line_comment) @comment.line
|
|
(operator) @operator
|
|
(primitive_type) @type.builtin
|
|
(special_literal_value) @constant.builtin
|
|
(string) @string
|