.dir-locals.el 824 B

123456789101112131415
  1. ((nil . ((cider-preferred-build-tool . clojure-cli)
  2. (cider-clojure-cli-aliases . "-M:frontend")
  3. (cider-default-cljs-repl . custom)
  4. (cider-custom-cljs-repl-init-form
  5. . "(do (require '[shadow.cljs.devtools.api :as shadow])
  6. (require '[shadow.cljs.devtools.server :as server])
  7. (server/start!)
  8. (shadow/watch :tubo)
  9. (shadow/nrepl-select :tubo))")
  10. (cider-merge-sessions . :project)
  11. (eval . (if (not (boundp 'cider-jack-in-nrepl-middlewares))
  12. (require 'cider)
  13. (make-variable-buffer-local 'cider-jack-in-nrepl-middlewares)
  14. (add-to-list 'cider-jack-in-nrepl-middlewares "cider.nrepl/cider-middleware")
  15. (add-to-list 'cider-jack-in-nrepl-middlewares "shadow.cljs.devtools.server.nrepl/middleware"))))))