From 075a64addc33390028ea124a1046a43497f05cd1 Mon Sep 17 00:00:00 2001 From: Riley Bruins Date: Thu, 21 Sep 2023 14:28:01 -0700 Subject: feat: highlight regular latex text to maintain consistency with boldfaced and italic text --- queries/latex/highlights.scm | 3 +++ 1 file changed, 3 insertions(+) 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)) -- cgit v1.2.3-70-g09d2