From 85e7055505d48569619700ebbb472450e379da88 Mon Sep 17 00:00:00 2001 From: Yurizal Susanto Date: Tue, 28 Feb 2017 13:49:48 +0700 Subject: [PATCH] Small fix for space detection --- runtime/syntax/yaml.micro | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/yaml.micro b/runtime/syntax/yaml.micro index 20deb633..7b00c44e 100644 --- a/runtime/syntax/yaml.micro +++ b/runtime/syntax/yaml.micro @@ -6,7 +6,7 @@ color constant "\b(YES|yes|Y|y|ON|on|NO|no|N|n|OFF|off)\b" color constant "\b(true|false)\b" color statement "\[" "\]" ":[[:space:]]+[|>]" "^[[:space:]]*- " color identifier "[[:space:]][\*&][A-Za-z0-9]+" -color type "([-\w\.\/]+[[:space:]]*:\s*)|([-\w\.\/]+[[:space:]]*:$)" +color type "([-\w\.\/]+[[:space:]]*:\s+)|([-\w\.\/]+[[:space:]]*:$)" color constant.string ""(\\.|[^"])*"|'(\\.|[^'])*'" color comment "(^|[[:space:]])#([^{].*)?$" color special "^---" "^\.\.\." "^%YAML" "^%TAG"