summaryrefslogtreecommitdiff
path: root/queries
diff options
context:
space:
mode:
authorJendrik Stelzner <jendrikstelzner@web.de>2022-01-12 00:22:21 +0100
committerStephan Seitz <stephan.seitz@fau.de>2022-01-12 00:41:26 +0100
commit41a097d9c543851625626618b08fc2bdf37b2894 (patch)
tree39aa8939983d12663338676a00985c0821904fd2 /queries
parent4e5afc6bb8c4ac673e5bcb62038cc2a8a1975ebd (diff)
Add LaTeX highlights: addpart, addchap, addsec.
Add highlight for the LaTeX sectioning commands \addpart, \addchap, \addsec and their starred variants.
Diffstat (limited to 'queries')
-rw-r--r--queries/latex/highlights.scm8
1 files changed, 8 insertions, 0 deletions
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