summaryrefslogtreecommitdiffstats
path: root/queries
diff options
context:
space:
mode:
authorAhnaf Rafi <ahnaf.al.rafi@gmail.com>2023-12-20 16:03:45 -0600
committerChristian Clason <c.clason@uni-graz.at>2023-12-21 10:55:50 +0100
commitc153019e11052f38cdf2bdd338750cd103877eba (patch)
tree42924865accc5512e971f3d35788ddfe5ff83e59 /queries
parentUpdate parsers: beancount, wing (diff)
downloadnvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.tar
nvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.tar.gz
nvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.tar.bz2
nvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.tar.lz
nvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.tar.xz
nvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.tar.zst
nvim-treesitter-c153019e11052f38cdf2bdd338750cd103877eba.zip
Add @nospell annotation to label definitions and references
Diffstat (limited to 'queries')
-rw-r--r--queries/latex/highlights.scm3
1 files changed, 3 insertions, 0 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm
index 10e02ed1b..bcba33eb2 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -249,3 +249,6 @@
(citation
keys: _ @nospell)
(command_name) @nospell
+(label_definition) @nospell
+(label_reference) @nospell
+(label_reference_range) @nospell