-
Notifications
You must be signed in to change notification settings - Fork 80
/
.dir-locals.el
19 lines (17 loc) · 1.01 KB
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
;;; Directory Local Variables
;;; For more information see (info "(emacs) Directory Variables")
((nil . ((prettify-symbols-mode . nil)
(use-bb-dev . t)
(eval . ((lambda ()
(defun cider-jack-in-wrapper-function (orig-fun &rest args)
(if (and (boundp 'use-bb-dev) use-bb-dev)
(message "Use `bb dev` to start the development server, then `cider-connect` to the port it specifies.")
(apply orig-fun args)))
(advice-add 'cider-jack-in :around #'cider-jack-in-wrapper-function)
(when (not (featurep 'clerk))
(let ((init-file-path (expand-file-name "clerk.el" default-directory)))
(when (file-exists-p init-file-path)
(load init-file-path)
(require 'clerk)))))))))
(clojure-mode (cider-clojure-cli-aliases . ":test:demo:dev")
(cider-preferred-build-tool . clojure-cli)))