X-Git-Url: https://git.lizzy.rs/?a=blobdiff_plain;ds=sidebyside;f=runtime%2Fsyntax%2Fclojure.yaml;h=9871b84f56480253da629d8f4d540fd8a0621a42;hb=9e0d3c7cbecb5ffb5e6629ca9bd1f260e9c24828;hp=a4d2eef7f6c8329eeb00cec0d31bb906ceadfdce;hpb=54bb99d7580cc1bc76507ce64ff78ef2038c8066;p=micro.git diff --git a/runtime/syntax/clojure.yaml b/runtime/syntax/clojure.yaml index a4d2eef7..9871b84f 100644 --- a/runtime/syntax/clojure.yaml +++ b/runtime/syntax/clojure.yaml @@ -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|\\\\.)" @@ -34,3 +35,4 @@ rules: end: "$" rules: - todo: "(TODO|XXX|FIXME):?" +