From a2c378c7b35a539627e15611515ff9d57086d22b Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Thu, 23 Jul 2020 00:01:36 -0400 Subject: [PATCH] asciidoc: Add a highlighter for admonition paragraphs --- rc/filetype/asciidoc.kak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc/filetype/asciidoc.kak b/rc/filetype/asciidoc.kak index 6857f9d4..acb6eb6f 100644 --- a/rc/filetype/asciidoc.kak +++ b/rc/filetype/asciidoc.kak @@ -73,6 +73,10 @@ add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta # Options add-highlighter shared/asciidoc/ regex ^\[[^\n]+\]$ 0:operator +# Admonition pargraphs +add-highlighter shared/asciidoc/ regex ^(NOTE|TIP|IMPORTANT|CAUTION|WARNING): 0:block +add-highlighter shared/asciidoc/ regex ^\[(NOTE|TIP|IMPORTANT|CAUTION|WARNING)\]$ 0:block + # Commands # ‾‾‾‾‾‾‾‾