-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add support for the BibTeX file format (#5064)
- Loading branch information
1 parent
37e7dd1
commit d14de27
Showing
5 changed files
with
76 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -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 |
Empty file.
Empty file.