mirror of https://github.com/helix-editor/helix
40 lines
475 B
Scheme
40 lines
475 B
Scheme
; Literals
|
|
; --------
|
|
|
|
(boolean) @constant.builtin.boolean
|
|
(comment) @comment
|
|
(string) @string
|
|
(number) @constant.numeric
|
|
(null) @constant.builtin
|
|
|
|
; Punctuation
|
|
; -----------
|
|
|
|
[
|
|
"("
|
|
")"
|
|
"["
|
|
"]"
|
|
"{"
|
|
"}"
|
|
] @punctuation.bracket
|
|
|
|
[
|
|
"."
|
|
","
|
|
] @punctuation.delimiter
|
|
|
|
[
|
|
"="
|
|
] @operator
|
|
|
|
; Function definitions
|
|
;---------------------
|
|
|
|
(function
|
|
name: (identifier) @function)
|
|
|
|
|
|
(attribute (identifier) @variable.other.member)
|
|
(block (identifier) @type.builtin)
|