From 27db63433ff9e3b0b585071901707492dd2f2c2a Mon Sep 17 00:00:00 2001 From: supbish Date: Mon, 20 Aug 2018 16:22:07 -0400 Subject: [PATCH] Fix shell comments; fixes #1114 --- runtime/syntax/sh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/sh.yaml b/runtime/syntax/sh.yaml index 02d176e1..0dbf3952 100644 --- a/runtime/syntax/sh.yaml +++ b/runtime/syntax/sh.yaml @@ -36,7 +36,7 @@ rules: rules: [] - comment: - start: "(^|[[:space:]])#" + start: "(^|\\s)#" end: "$" rules: - todo: "(TODO|XXX|FIXME):?"