aboutsummaryrefslogtreecommitdiff
path: root/.dir-locals.el
blob: c550e73cea316cfec56b86e2d2bbfa8318b1d6ef (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
((nil . ((cider-preferred-build-tool . clojure-cli)
         (cider-clojure-cli-aliases . "-M:dev")
         (cider-default-cljs-repl . custom)
         (cider-custom-cljs-repl-init-form
          . "(do (require '[shadow.cljs.devtools.api :as shadow])
(require '[shadow.cljs.devtools.server :as server])
(server/start!)
(shadow/watch :app)
(shadow/nrepl-select :app))")
         (cider-merge-sessions . :project)
         (eval . (when (boundp 'cider-jack-in-nrepl-middlewares)
                   (make-variable-buffer-local 'cider-jack-in-nrepl-middlewares)
                   (add-to-list 'cider-jack-in-nrepl-middlewares "cider.nrepl/cider-middleware")
                   (add-to-list 'cider-jack-in-nrepl-middlewares "shadow.cljs.devtools.server.nrepl/middleware"))))))