.dir-locals.el 1006 B

123456789101112131415
  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 . (progn
  10. (unless (boundp 'cider-jack-in-nrepl-middlewares)
  11. (require 'cider))
  12. (make-variable-buffer-local 'cider-jack-in-nrepl-middlewares)
  13. (add-to-list 'cider-jack-in-nrepl-middlewares "cider.nrepl/cider-middleware")
  14. (add-to-list 'cider-jack-in-nrepl-middlewares "shadow.cljs.devtools.server.nrepl/middleware"))))))