From 736720f31ab4cde3745f890cb4e9c34353577f41 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Dan=20Ros=C3=A9n?= Date: Mon, 15 May 2017 21:06:56 +0200 Subject: [PATCH] Highlight object keys in yaml --- rc/base/yaml.kak | 1 + 1 file changed, 1 insertion(+) diff --git a/rc/base/yaml.kak b/rc/base/yaml.kak index d4773a8d..27bad0c5 100644 --- a/rc/base/yaml.kak +++ b/rc/base/yaml.kak @@ -23,6 +23,7 @@ add-highlighter -group /yaml/comment fill comment add-highlighter -group /yaml/code regex ^(---|\.\.\.)$ 0:meta add-highlighter -group /yaml/code regex ^(\h*:\w*) 0:keyword add-highlighter -group /yaml/code regex \b(true|false|null)\b 0:value +add-highlighter -group /yaml/code regex ^\h*-?\h*(\S+): 1:attribute # Commands # ‾‾‾‾‾‾‾‾