1
0
mirror of https://github.com/helix-editor/helix synced 2026-01-26 17:48:22 +01:00
helix/runtime/queries/uxntal/highlights.scm
Michael Davis 16ff06370f
queries: Remove (ERROR) from all highlights
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.
2025-02-04 09:35:38 -05:00

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