From f4d9cdc8eb548e4ac77e9d6f88dcd53a3b73ba11 Mon Sep 17 00:00:00 2001 From: Will Stott Date: Tue, 6 Jul 2021 16:19:53 +0100 Subject: [PATCH] Update yaml.nanorc It's valid for yaml files like this to exist: ```yaml - my - list - of - strings ``` --- yaml.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml.nanorc b/yaml.nanorc index f202cd8..76d95f6 100644 --- a/yaml.nanorc +++ b/yaml.nanorc @@ -14,7 +14,7 @@ color yellow "[:-]\s+[0-9]+\.?[0-9]*(\s*($|#))" color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) " # Separator -color brightwhite "^\s+-" +color brightwhite "^\s*-" color brightwhite ":(\s|\t|$)" # Comments