]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/zsh.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / zsh.yaml
index b65831455db360dda57ccf6f1d3e9b84ae2e68ad..a2832131044f14b721a79add2b1d59b5a0e250bc 100644 (file)
@@ -36,6 +36,7 @@ rules:
     - constant.string:
         start: "\""
         end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
@@ -45,6 +46,7 @@ rules:
         rules: []
 
     - comment:
-        start: "#"
+        start: "(^|\\s)#"
         end: "$"
         rules: []
+