helix-mirror/runtime/queries/bibtex/highlights.scm
2022-12-08 22:33:08 -06:00

48 lines
479 B
Scheme

[
(string_type)
(preamble_type)
(entry_type)
] @keyword
[
(junk)
(comment)
] @comment
[
"="
"#"
] @operator
(command) @function.builtin
(number) @constant.numeric
(field
name: (identifier) @variable.builtin)
(token
(identifier) @variable.parameter)
[
(brace_word)
(quote_word)
] @string
[
(key_brace)
(key_paren)
] @attribute
(string
name: (identifier) @constant)
[
"{"
"}"
"("
")"
] @punctuation.bracket
"," @punctuation.delimiter