From 59069ed296905b7d14a2e8715116481325dba3d7 Mon Sep 17 00:00:00 2001 From: Todd Lewis Date: Thu, 4 May 2017 19:34:52 -0400 Subject: [PATCH] handle plain strings w/ non-initial quotes --- yaml.jsf | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/yaml.jsf b/yaml.jsf index 350bd82..c4d7401 100644 --- a/yaml.jsf +++ b/yaml.jsf @@ -28,7 +28,7 @@ "#" line_comment recolor=-1 :idle Constant - * idle + * plain_scalar noeat "\n" line_start " " maybe_idlecomment "%" directive recolor=-1 @@ -39,6 +39,11 @@ "*&" maybe_reference "!" maybe_typecast +:plain_scalar Constant + * plain_scalar + "\t" bad_tab recolor=-1 + "\n" line_start noeat + :maybe_key Idle * maybe_key1 recolor=-1 mark "\n" line_start