mirror of https://github.com/helix-editor/helix
You cannot select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
44 lines
710 B
Scheme
44 lines
710 B
Scheme
; Literals
|
|
;------------
|
|
|
|
(string) @string
|
|
(boolean) @constant.builtin.boolean
|
|
(integer) @constant.numeric.integer
|
|
(float) @constant.numeric.float
|
|
(char) @constant.character
|
|
|
|
; Structs
|
|
;------------
|
|
|
|
(enum_variant) @type.enum.variant
|
|
(struct_entry (_) @variable.other.member ":")
|
|
(struct_name (identifier)) @type
|
|
|
|
|
|
|
|
|
|
; Comments
|
|
;------------
|
|
|
|
(line_comment) @comment.line
|
|
(block_comment) @comment.block
|
|
|
|
|
|
; Punctuation
|
|
;------------
|
|
|
|
"," @punctuation.delimiter
|
|
":" @punctuation.delimiter
|
|
|
|
"(" @punctuation.bracket
|
|
")" @punctuation.bracket
|
|
"[" @punctuation.bracket
|
|
"]" @punctuation.bracket
|
|
"{" @punctuation.bracket
|
|
"}" @punctuation.bracket
|
|
|
|
|
|
; Special
|
|
;------------
|
|
(escape_sequence) @constant.character.escape
|