From 90865b65cde4d26ee63a772977b66b478039c009 Mon Sep 17 00:00:00 2001 From: Maxime Coste Date: Thu, 2 Nov 2017 09:52:18 +0800 Subject: [PATCH] asciidoc.kak: Highlight `^=+` syntax sections --- rc/core/asciidoc.kak | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/rc/core/asciidoc.kak b/rc/core/asciidoc.kak index 55399555..b0c50442 100644 --- a/rc/core/asciidoc.kak +++ b/rc/core/asciidoc.kak @@ -17,6 +17,10 @@ add-highlighter shared/asciidoc regex (\A|\n\n)[^\n]+\n={2,}\h*$ 0:title add-highlighter shared/asciidoc regex (\A|\n\n)[^\n]+\n-{2,}\h*$ 0:header add-highlighter shared/asciidoc regex (\A|\n\n)[^\n]+\n~{2,}\h*$ 0:header add-highlighter shared/asciidoc regex (\A|\n\n)[^\n]+\n\^{2,}\h*$ 0:header + +add-highlighter shared/asciidoc regex (\A|\n\n)=\h+[^\n]+$ 0:title +add-highlighter shared/asciidoc regex (\A|\n\n)={2,}\h+[^\n]+$ 0:header + add-highlighter shared/asciidoc regex ^\h+([-\*])\h+[^\n]*(\n\h+[^-\*]\S+[^\n]*)*$ 0:list 1:bullet add-highlighter shared/asciidoc regex ^(-{3,})\n[^\n\h].*?\n(-{3,})$ 0:block add-highlighter shared/asciidoc regex ^(={3,})\n[^\n\h].*?\n(={3,})$ 0:block