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