Newer
Older
((clojure-mode . ((eval . (progn
;; Specify which arg is the docstring for certain macros
;; (Add more as needed)
(put 'defannotation 'clojure-doc-string-elt 2)
(put 'defendpoint 'clojure-doc-string-elt 3)
(put 'defsetting '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
(api-let 2)
(auto-parse 1)
(catch-api-exceptions 0)
(check 1)
(context 2)
(engine-case 0)
(execute-query 1)
(expect-eval-actual-first 1)
(expect-let 1)
(expect-when-testing-engine 1)
(expect-with-engine 1)
(expect-with-engines 1)
(ins 1)
(let-400 1)
(let-404 1)
(let-500 1)
(match 1)
(match-$ 1)
(org-perms-case 1)
(post-select 1)
(post-update 1)
(pre-cascade-delete 1)
(pre-insert 1)
(pre-update 1)
(qp-expect-with-all-engines 1)
(qp-expect-with-engines 1)
Cam Saul
committed
(resolve-private-fns 1)
(upd 2)
(when-testing-engine 1)
(with-credentials 1)))))))