From e845495cc39a3968a8c656126449e8cc623bd725 Mon Sep 17 00:00:00 2001 From: Kylie McClain Date: Thu, 23 Jul 2020 00:01:24 -0400 Subject: [PATCH] asciidoc: Add a highlighter for [%options] --- rc/filetype/asciidoc.kak | 3 +++ 1 file changed, 3 insertions(+) diff --git a/rc/filetype/asciidoc.kak b/rc/filetype/asciidoc.kak index 723842f7..6857f9d4 100644 --- a/rc/filetype/asciidoc.kak +++ b/rc/filetype/asciidoc.kak @@ -70,6 +70,9 @@ add-highlighter shared/asciidoc/ regex __[^\n]+?__ 0:+i add-highlighter shared/asciidoc/ regex ^:(?:(?!?)[-\w]+|[-\w]+(?!?)): 0:meta neg:operator add-highlighter shared/asciidoc/ regex [^\\](\{[-\w]+\})[^\\]? 1:meta +# Options +add-highlighter shared/asciidoc/ regex ^\[[^\n]+\]$ 0:operator + # Commands # ‾‾‾‾‾‾‾‾