]> git.lizzy.rs Git - micro.git/blobdiff - runtime/syntax/clojure.yaml
Merge branch 'python-highlight-zero' of https://github.com/a11ce/micro into a11ce...
[micro.git] / runtime / syntax / clojure.yaml
index 4f6f3c41861f34425c51e8b9006449b90c9e1bb1..9871b84f56480253da629d8f4d540fd8a0621a42 100644 (file)
@@ -1,7 +1,7 @@
 filetype: clojure
 
 detect:
-    filename: "\\.(clj)$"
+    filename: "\\.(clj[sc]?|edn)$"
 
 rules:
 
@@ -24,7 +24,8 @@ rules:
       # String highlighting
     - constant.string:
         start: "\""
-        end: "(?<!\\\\)\""
+        end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "(\\\\u[0-9A-fa-f]{4,4}|\\\\newline|\\\\space|\\\\tab|\\\\formfeed|\\\\backspace|\\\\return|\\\\.)"