From 6aa5aa540b6a063505e09d8c731dd1b62d5e1d45 Mon Sep 17 00:00:00 2001 From: Pascal Date: Thu, 13 Dec 2018 09:55:19 +0100 Subject: [PATCH] Update zsh.yaml Copied comment start from sh.yaml so that stuff like `$#` doesn't count as comments --- runtime/syntax/zsh.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/runtime/syntax/zsh.yaml b/runtime/syntax/zsh.yaml index 2182b8c9..a2832131 100644 --- a/runtime/syntax/zsh.yaml +++ b/runtime/syntax/zsh.yaml @@ -46,7 +46,7 @@ rules: rules: [] - comment: - start: "#" + start: "(^|\\s)#" end: "$" rules: []