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)