1
0

.dir-locals.el 1.0 KB

12345678910111213141516
  1. ;;; Directory Local Variables -*- no-byte-compile: t -*-
  2. ;;; For more information see (info "(emacs) Directory Variables")
  3. ((nil . ((fill-column . 80)
  4. (cider-preferred-build-tool . clojure-cli)
  5. (cider-clojure-cli-aliases . "-M:frontend")
  6. (cider-default-cljs-repl . custom)
  7. (cider-custom-cljs-repl-init-form . "(do (require '[shadow.cljs.devtools.api :as shadow])\n(require '[shadow.cljs.devtools.server :as server])\n(server/start!)\n(shadow/watch :tubo)\n(shadow/nrepl-select :tubo))")
  8. (cider-merge-sessions . :project)
  9. (eval . (if
  10. (not
  11. (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"))))))