From 4f8211eceaf3c14e96d7d586bf4527db98a1a9be Mon Sep 17 00:00:00 2001 From: Frank LENORMAND Date: Tue, 29 Aug 2017 14:17:28 +0300 Subject: [PATCH] rc base html: Highlight attributes with no value --- rc/base/html.kak | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/rc/base/html.kak b/rc/base/html.kak index 2cc0b843..4b7380f0 100644 --- a/rc/base/html.kak +++ b/rc/base/html.kak @@ -26,8 +26,8 @@ add-highlighter -group /html/comment fill comment add-highlighter -group /html/style ref css add-highlighter -group /html/script ref javascript +add-highlighter -group /html/tag regex \b([a-zA-Z0-9_-]+)=? 1:attribute add-highlighter -group /html/tag regex