aboutsummaryrefslogtreecommitdiff
path: root/runtime/queries/latex/highlights.scm
diff options
context:
space:
mode:
Diffstat (limited to 'runtime/queries/latex/highlights.scm')
-rw-r--r--runtime/queries/latex/highlights.scm6
1 files changed, 6 insertions, 0 deletions
diff --git a/runtime/queries/latex/highlights.scm b/runtime/queries/latex/highlights.scm
index e39226a2..3174d80b 100644
--- a/runtime/queries/latex/highlights.scm
+++ b/runtime/queries/latex/highlights.scm
@@ -29,6 +29,12 @@
(#eq? @punctuation.delimiter "&"))
["[" "]" "{" "}"] @punctuation.bracket ; "(" ")" has no syntactical meaning in LaTeX
+(math_delimiter
+ left_command: _ @punctuation.delimiter
+ left_delimiter: _ @punctuation.delimiter
+ right_command: _ @punctuation.delimiter
+ right_delimiter: _ @punctuation.delimiter
+)
;; General environments
(begin