]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/vi.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / vi.yaml
index 84020efa2237a2a531863f96a1483b7b0db1d27f..d83a80af1e3872720b3fc7438f9f03e9a32d3d9a 100644 (file)
@@ -12,17 +12,19 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "(?<!\\\\)'"
+        end: "'"
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
-    - constant.comment:
+    - comment:
         start: "\""
         end: "$"
         rules: []