diff options
Diffstat (limited to 'runtime/queries')
-rw-r--r-- | runtime/queries/bibtex/highlights.scm | 47 | ||||
-rw-r--r-- | runtime/queries/bibtex/locals.scm | 0 | ||||
-rw-r--r-- | runtime/queries/bibtex/tags.scm | 0 |
3 files changed, 47 insertions, 0 deletions
diff --git a/runtime/queries/bibtex/highlights.scm b/runtime/queries/bibtex/highlights.scm new file mode 100644 index 00000000..db1ab70c --- /dev/null +++ b/runtime/queries/bibtex/highlights.scm @@ -0,0 +1,47 @@ +[ + (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 diff --git a/runtime/queries/bibtex/locals.scm b/runtime/queries/bibtex/locals.scm new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/runtime/queries/bibtex/locals.scm diff --git a/runtime/queries/bibtex/tags.scm b/runtime/queries/bibtex/tags.scm new file mode 100644 index 00000000..e69de29b --- /dev/null +++ b/runtime/queries/bibtex/tags.scm |