diff --git a/lockfile.json b/lockfile.json index 9da436895..a70e0293e 100644 --- a/lockfile.json +++ b/lockfile.json @@ -387,7 +387,7 @@ "revision": "854a40e99f7c70258e522bdb8ab584ede6196e2e" }, "latex": { - "revision": "107435ada4c4c422ba4f951336b5e566b86ac3ca" + "revision": "d018f2e6620bbaee229cb31fc8b67fabd713d770" }, "ledger": { "revision": "8a841fb20ce683bfbb3469e6ba67f2851cfdf94a" diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index b0987f56a..f5db212b7 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -31,8 +31,7 @@ "\\item" @punctuation.special -((word) @punctuation.delimiter - (#eq? @punctuation.delimiter "&")) +(delimiter) @punctuation.delimiter [ "["