]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/cmake.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / cmake.yaml
index 67fdb8122c9d94f5248738037091b3b502cf3198..d23e613dcb1b3ec6de91dbfd5000a8e4636d5cd9 100644 (file)
@@ -15,13 +15,15 @@ rules:
 
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."
 
     - constant.string:
         start: "'"
-        end: "(?<!\\\\)'"
+        end: "'"
+        skip: "\\\\."
         rules:
             - constant.specialChar: "\\\\."