From a6c9cf826d7c1f7ceda2c346a8a357683f60d5f1 Mon Sep 17 00:00:00 2001 From: "R. Francis Smith" Date: Tue, 1 Aug 2017 21:22:40 -0500 Subject: [PATCH] tweak comment detection I have a bunch of ansible YAML with to-end-of-line documentation, and it wasn't, you know, green. This makes it happen. Example of line: - ruby-ldap # for name script --- yaml.jsf | 1 + 1 file changed, 1 insertion(+) diff --git a/yaml.jsf b/yaml.jsf index 9d88635..9ae137e 100644 --- a/yaml.jsf +++ b/yaml.jsf @@ -34,6 +34,7 @@ "." maybe_block_end1 "*&" maybe_reference "!" maybe_typecast + "#" line_comment recolor=-1 :plain_scalar Constant * plain_scalar