forked from Stratio/stratio-metabase
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.dir-locals.el
20 lines (19 loc) · 1.1 KB
/
.dir-locals.el
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
((clojure-mode . ((eval . (progn
;; Specify which arg is the docstring for certain macros
;; (Add more as needed)
(put 'defendpoint 'clojure-doc-string-elt 3)
(put 'api/defendpoint 'clojure-doc-string-elt 3)
(put 'defsetting 'clojure-doc-string-elt 2)
(put 'setting/defsetting 'clojure-doc-string-elt 2)
(put 's/defn 'clojure-doc-string-elt 2)
;; Define custom indentation for functions inside metabase.
;; This list isn't complete; add more forms as we come across them.
(define-clojure-indent
(assert 1)
(assoc 1)
(ex-info 1)
(execute-sql! 2)
(expect 0)
(match 1)
(merge-with 1)
(with-redefs-fn 1)))))))