mirror of
https://github.com/SpaceVim/SpaceVim.git
synced 2025-01-27 12:00:04 +08:00
50 lines
531 B
Scheme
Vendored
50 lines
531 B
Scheme
Vendored
; CREDITS @pfoerster (adapted from https://github.com/latex-lsp/tree-sitter-bibtex)
|
|
|
|
[
|
|
(string_type)
|
|
(preamble_type)
|
|
(entry_type)
|
|
] @keyword
|
|
|
|
[
|
|
(junk)
|
|
(comment)
|
|
] @comment
|
|
|
|
[
|
|
"="
|
|
"#"
|
|
] @operator
|
|
|
|
(command) @function.builtin
|
|
|
|
(number) @number
|
|
|
|
(field
|
|
name: (identifier) @field)
|
|
|
|
(token
|
|
(identifier) @parameter)
|
|
|
|
[
|
|
(brace_word)
|
|
(quote_word)
|
|
] @string
|
|
|
|
[
|
|
(key_brace)
|
|
(key_paren)
|
|
] @symbol
|
|
|
|
(string
|
|
name: (identifier) @constant)
|
|
|
|
[
|
|
"{"
|
|
"}"
|
|
"("
|
|
")"
|
|
] @punctuation.bracket
|
|
|
|
"," @punctuation.delimiter
|