From 41a097d9c543851625626618b08fc2bdf37b2894 Mon Sep 17 00:00:00 2001 From: Jendrik Stelzner Date: Wed, 12 Jan 2022 00:22:21 +0100 Subject: Add LaTeX highlights: addpart, addchap, addsec. Add highlight for the LaTeX sectioning commands \addpart, \addchap, \addsec and their starred variants. --- queries/latex/highlights.scm | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/queries/latex/highlights.scm b/queries/latex/highlights.scm index 1396f659..ae22baef 100644 --- a/queries/latex/highlights.scm +++ b/queries/latex/highlights.scm @@ -289,6 +289,10 @@ "\\paragraph" "\\subparagraph" + "\\addpart" + "\\addchap" + "\\addsec" + "\\part*" "\\chapter*" "\\section*" @@ -296,6 +300,10 @@ "\\subsubsection*" "\\paragraph*" "\\subparagraph*" + + "\\addpart*" + "\\addchap*" + "\\addsec*" ] @type "\\item" @punctuation.special -- cgit v1.2.3