aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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 d0283c2e7..10e02ed1b 100644
--- a/queries/latex/highlights.scm
+++ b/queries/latex/highlights.scm
@@ -184,6 +184,9 @@
(#eq? @_name "\\frametitle"))
;; Formatting
+(text_mode
+ content: (curly_group (_) @text))
+
((generic_command
command: (command_name) @_name
arg: (curly_group (_) @text.emphasis))