]> 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 692f51a8263b8f4fc4a071353237c659472db5e9..9871b84f56480253da629d8f4d540fd8a0621a42 100644 (file)
@@ -1,7 +1,7 @@
 filetype: clojure
 
 detect:
-    filename: "\\.(clj)$"
+    filename: "\\.(clj[sc]?|edn)$"
 
 rules:
 
@@ -25,6 +25,7 @@ rules:
     - constant.string:
         start: "\""
         end: "\""
+        skip: "\\\\."
         rules:
             - constant.specialChar: "(\\\\u[0-9A-fa-f]{4,4}|\\\\newline|\\\\space|\\\\tab|\\\\formfeed|\\\\backspace|\\\\return|\\\\.)"