-
-
Notifications
You must be signed in to change notification settings - Fork 11
/
.dir-locals.el
21 lines (21 loc) · 1.27 KB
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
((nil . ((indent-tabs-mode . nil) ; always use spaces for tabs
(require-final-newline . t))) ; add final newline on save
(clojure-mode . ((cider-preferred-build-tool . clojure-cli)
(cider-clojure-cli-aliases . "dev")
(cljr-favor-prefix-notation . nil)
(fill-column . 120)
(column-enforce-column . 120)
(clojure-docstring-fill-column . 120)
(eval . (put 'm/defmethod 'clojure-doc-string-elt 3))
(eval . (put 'm/defmulti 'clojure-doc-string-elt 2))
(eval . (put 'p/defprotocol+ 'clojure-doc-string-elt 2))
(eval . (put 'p/def-map-type 'clojure-doc-string-elt 2))
(eval . (put-clojure-indent 'with-meta '(:form)))
(eval . (put-clojure-indent 'with-bindings* '(:form)))
;; workaround for https://github.com/clojure-emacs/clojure-mode/issues/600
(eval . (define-clojure-indent
(p/defprotocol+ '(1 (:defn)))
(p/def-map-type '(2 nil nil (:defn)))
(p/deftype+ '(2 nil nil (:defn)))))))
(markdown-mode . ((fill-column . 80)
(column-enforce-column . 80))))