From c8aa32da7ce9e5ec7e83bbc06739bd22affd951a Mon Sep 17 00:00:00 2001 From: Zach DeCook Date: Fri, 19 Mar 2021 12:30:53 -0400 Subject: [PATCH] fix(yaml): highlighting of spaces Originally proposed in https://github.com/scopatz/nanorc/pull/378 --- yaml.nanorc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/yaml.nanorc b/yaml.nanorc index 76d95f6f..bf2314b2 100644 --- a/yaml.nanorc +++ b/yaml.nanorc @@ -15,7 +15,7 @@ color yellow "(^| )!!(binary|bool|float|int|map|null|omap|seq|set|str) " # Separator color brightwhite "^\s*-" -color brightwhite ":(\s|\t|$)" +color brightwhite ":(\s|$)" # Comments color brightblue "(^|[[:space:]])#.*$"