1
0
mirror of https://github.com/helix-editor/helix synced 2026-03-27 15:31:58 +01:00
helix/runtime/queries/ebnf/highlights.scm
Milo Moisson 5e3755908f
add ebnf language (#15267)
* add ebnf language

* Update runtime/queries/ebnf/highlights.scm

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>

---------

Co-authored-by: Michael Davis <mcarsondavis@gmail.com>
2026-03-26 10:33:01 -05:00

35 lines
338 B
Scheme

;; Simple tokens
(terminal) @string
(special_sequence) @string.special
(integer) @constant.numeric.integer
(comment) @comment.block
;; Identifiers
(identifier) @identifier
;; Punctuation
[
";"
","
] @punctuation.delimiter
[
"|"
"*"
"-"
] @operator
"=" @keyword.operator
[
"("
")"
"["
"]"
"{"
"}"
] @punctuation.bracket