]> 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 0bc004363f3eab3554be53b452f6690f6e37b347..a2832131044f14b721a79add2b1d59b5a0e250bc 100644 (file)
@@ -35,17 +35,18 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "(?<!\\\\)'"
+        end: "'"
         rules: []
 
     - comment:
-        start: "#"
+        start: "(^|\\s)#"
         end: "$"
         rules: []