Files
2026-09-23 00:36:22 -04:00

47 lines
986 B
Scheme

[
"and"
"as"
"bits"
"break"
"continue"
"distinct"
"else"
"for"
"if"
"in"
"loop"
"match"
"not"
"or"
"pub"
"return"
"use"
] @keyword
(primitive_type) @type.builtin
(identifier) @variable
(comment) @comment
(default_expression) @keyword
(boolean_literal) @constant.builtin
(nil_literal) @constant.builtin
(string_literal) @string
(character_literal) @character
(integer_literal) @number
(float_literal) @number.float
(label (identifier) @label)
(declaration name: (identifier) @variable.definition)
(typed_parameter pattern: (identifier) @variable.parameter)
(typed_tuple_component pattern: (identifier) @variable.parameter)
(product_field name: (identifier) @property)
(product_entry (identifier) @property)
(sum_variant name: (identifier) @constructor)
(bits_member (identifier) @constant)
[
"=" "+=" "-=" "*=" "/=" "%=" "&=" "^=" "|="
"==" "<" "<=" ">" ">="
"+" "-" "*" "/" "%" "&" "|" "^" "~" "!"
"->" "=>" "|>" "..<" "..=" "@"
] @operator