aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorgi1242 <gi1242+github@gmail.com>2024-02-15 02:59:28 -0500
committerGitHub <noreply@github.com>2024-02-15 07:59:28 +0000
commit69e4b99f135521795562f38a2cee13f148ee55a0 (patch)
treed357c95eeeca730b283673c56b64d9cb107823d0
parentfix(python): better try-except indentation (#6097) (diff)
downloadnvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.tar
nvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.tar.gz
nvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.tar.bz2
nvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.tar.lz
nvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.tar.xz
nvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.tar.zst
nvim-treesitter-69e4b99f135521795562f38a2cee13f148ee55a0.zip
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>
-rw-r--r--lockfile.json2
-rw-r--r--queries/latex/highlights.scm6
2 files changed, 6 insertions, 2 deletions
diff --git a/lockfile.json b/lockfile.json
index 2563cc057..ea77c2ddb 100644
--- a/lockfile.json
+++ b/lockfile.json
@@ -348,7 +348,7 @@
"revision": "456dec2990ed7e9595eca82f85db14a1db46e126"
},
"latex": {
- "revision": "2ae2021d7b224fb6aa57b760e0d146059f943bb8"
+ "revision": "841f89ffbba9650529a40fb867f3456bf92bf9b1"
},
"ledger": {
"revision": "8a841fb20ce683bfbb3469e6ba67f2851cfdf94a"
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm
index 9649b5dd6..c91a624f4 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -316,10 +316,14 @@
directory: (curly_group_path) @string
file: (curly_group_path) @string)
-(bibtex_include
+(bibstyle_include
command: _ @keyword.import
path: (curly_group_path) @string)
+(bibtex_include
+ command: _ @keyword.import
+ paths: (curly_group_path_list) @string)
+
(biblatex_include
"\\addbibresource" @keyword.import
glob: (curly_group_glob_pattern) @string.regexp)