mirror of
https://github.com/helix-editor/helix
synced 2026-03-27 15:31:58 +01:00
* 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>
35 lines
338 B
Scheme
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
|