mirror of
https://github.com/helix-editor/helix
synced 2026-01-26 17:48:22 +01:00
We do not highlight `(ERROR)` nodes since the highlighting is quite noisy while typing. Also see todo comments in `syntax.rs` - we could introduce configuration in the future to prepend `(ERROR)` to a language's highlights query.
15 lines
345 B
Scheme
15 lines
345 B
Scheme
; highlights.scm
|
|
|
|
(identifier) @keyword
|
|
(number) @constant.numeric
|
|
(comment) @comment
|
|
(raw_character) @constant.character
|
|
(literal_hex) @constant.numeric.integer
|
|
(macro_definition) @function
|
|
(label_definition) @label
|
|
(sub_label_definition) @label
|
|
(relative_pad) @constant
|
|
(label) @label
|
|
(sub_label) @label
|
|
["[" "]" "{" "}"] @punctuation.bracket
|