-
-
Notifications
You must be signed in to change notification settings - Fork 19
/
.dir-locals.el
15 lines (15 loc) · 1.14 KB
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
((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")
(fill-column . 120)
(clojure-docstring-fill-column . 120)
(eval . (put 'p/defprotocol+ 'clojure-doc-string-elt 2))
(eval . (put 'p.types/defprotocol+ 'clojure-doc-string-elt 2))
(eval . (put-clojure-indent 'p.types/defprotocol+ '(1 (:defn))))
(eval . (put-clojure-indent 'p.types/definterface+ '(1 (:defn))))
(eval . (put-clojure-indent 'p.types/def-abstract-type '(1 (:defn))))
;; (eval . (put-clojure-indent 'p.types/deftype+ '(2 nil nil (:defn))))
;; (eval . (put-clojure-indent 'p.types/defrecord+ '(2 nil nil (:defn))))
(eval . (put-clojure-indent 'with-meta '(:form)))
(eval . (put-clojure-indent 'with-bindings* '(:form))))))