aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--queries/latex/highlights.scm6
1 files changed, 5 insertions, 1 deletions
diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm
index c91a624f4..5b5f19768 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -2,7 +2,11 @@
(command_name) @function
(text_mode
- "\\text" @function)
+ [
+ "\\text"
+ "\\intertext"
+ "\\shortintertext"
+ ] @function)
(caption
command: _ @function)