From eb1914bb10dc9b114a61197de0ec58a308c40071 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Fri, 16 Feb 2024 11:25:21 -0800 Subject: [PATCH] feat(latex): more text func highlights --- queries/latex/highlights.scm | 6 +++++- 1 file changed, 5 insertions(+), 1 deletion(-) 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)