fix(latex): update bibstyle queries (#6102)

Match grammar.js from commit 0d598bb95ffe3ba63403979d0d32158210974ca5 in
latex-lsp/tree-sitter-latex

Co-authored-by: gi1242 <gi1242+nvim-treesitter@gmail.com>
This commit is contained in:
gi1242 2024-02-15 02:59:28 -05:00 committed by GitHub
parent d96bf9d522
commit 69e4b99f13
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
2 changed files with 6 additions and 2 deletions

View file

@ -348,7 +348,7 @@
"revision": "456dec2990ed7e9595eca82f85db14a1db46e126" "revision": "456dec2990ed7e9595eca82f85db14a1db46e126"
}, },
"latex": { "latex": {
"revision": "2ae2021d7b224fb6aa57b760e0d146059f943bb8" "revision": "841f89ffbba9650529a40fb867f3456bf92bf9b1"
}, },
"ledger": { "ledger": {
"revision": "8a841fb20ce683bfbb3469e6ba67f2851cfdf94a" "revision": "8a841fb20ce683bfbb3469e6ba67f2851cfdf94a"

View file

@ -316,10 +316,14 @@
directory: (curly_group_path) @string directory: (curly_group_path) @string
file: (curly_group_path) @string) file: (curly_group_path) @string)
(bibtex_include (bibstyle_include
command: _ @keyword.import command: _ @keyword.import
path: (curly_group_path) @string) path: (curly_group_path) @string)
(bibtex_include
command: _ @keyword.import
paths: (curly_group_path_list) @string)
(biblatex_include (biblatex_include
"\\addbibresource" @keyword.import "\\addbibresource" @keyword.import
glob: (curly_group_glob_pattern) @string.regexp) glob: (curly_group_glob_pattern) @string.regexp)