aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/latex
diff options
context:
space:
mode:
authorBlaž Hrastnik2021-09-02 05:58:57 +0000
committerBlaž Hrastnik2021-09-06 06:25:46 +0000
commita6108baec9455f223211b458e2328087e7fa3280 (patch)
tree5010a753f44516e8a398c04323d0438418aa931b /runtime/queries/latex
parent37606bad47fe0e197cb34fc7d52856597c32ce33 (diff)
Improve grammar definitions
Diffstat (limited to 'runtime/queries/latex')
-rw-r--r--runtime/queries/latex/highlights.scm4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm
index cd04a62c..f045c82d 100644
--- a/runtime/queries/latex/highlights.scm
+++ b/runtime/queries/latex/highlights.scm
@@ -259,7 +259,7 @@
(comment) @comment
-(bracket_group) @parameter
+(bracket_group) @variable.parameter
[(math_operator) "="] @operator
@@ -312,7 +312,7 @@
key: (word) @text.reference)
(key_val_pair
- key: (_) @parameter
+ key: (_) @variable.parameter
value: (_))
["[" "]" "{" "}"] @punctuation.bracket ;"(" ")" is has no special meaning in LaTeX