Add support for the BibTeX file format (#5064)
book/src/generated/lang-support.md+1
@@ -5,6 +5,7 @@
5| bash | ✓ | | | `bash-language-server` |
5| bash | ✓ | | | `bash-language-server` |
6| bass | ✓ | | | `bass` |
6| bass | ✓ | | | `bass` |
7| beancount | ✓ | | | |
7| beancount | ✓ | | | |
8+| bibtex | ✓ | | | `texlab` |
8| bicep | ✓ | | | `bicep-langserver` |
9| bicep | ✓ | | | `bicep-langserver` |
9| c | ✓ | ✓ | ✓ | `clangd` |
10| c | ✓ | ✓ | ✓ | `clangd` |
10| c-sharp | ✓ | ✓ | | `OmniSharp` |
11| c-sharp | ✓ | ✓ | | `OmniSharp` |
@@ -576,6 +576,34 @@ indent = { tab-width = 4, unit = "\t" }
576name = "latex"
576name = "latex"
577source = { git = "https://github.com/latex-lsp/tree-sitter-latex", rev = "8c75e93cd08ccb7ce1ccab22c1fbd6360e3bcea6" }
577source = { git = "https://github.com/latex-lsp/tree-sitter-latex", rev = "8c75e93cd08ccb7ce1ccab22c1fbd6360e3bcea6" }
582+injection-regex = "bib"
586+language-server = { command = "texlab" }
587+indent = { tab-width = 4, unit = "\t" }
591+command = 'bibtex-tidy'
596+ "--remove-empty-fields",
598+ "--sort=year,author,id",
599+ "--strip-enclosing-braces",
600+ "--trailing-commas",
605+source = { git = "https://github.com/latex-lsp/tree-sitter-bibtex", rev = "ccfd77db0ed799b6c22c214fe9d2937f47bc8b34" }
579[[language]]
607[[language]]
580name = "lean"
608name = "lean"
581scope = "source.lean"
609scope = "source.lean"
runtime/queries/bibtex/highlights.scmnew file+47
@@ -0,0 +1,47 @@
17+(command) @function.builtin
19+(number) @constant.numeric
22+ name: (identifier) @variable.builtin)
25+ (identifier) @variable.parameter)
38+ name: (identifier) @constant)
45+] @punctuation.bracket
47+"," @punctuation.delimiter
runtime/queries/bibtex/locals.scmnew file
No changes to the content.
runtime/queries/bibtex/tags.scmnew file
No changes to the content.