Skip to content

Commit

Permalink
fix issue in dir locals (mentat-collective#181)
Browse files Browse the repository at this point in the history
  • Loading branch information
sritchie authored Aug 8, 2024
1 parent 7a0adfb commit b80a0f4
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions .dir-locals.el
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,10 @@
(cider-clojure-cli-aliases . ":test:cljs:nextjournal/clerk:dev")

;; Custom indentation:
(eval . (put-clojure-indent 'sci-macro :defn))
(eval . (put-clojure-indent 'careful-def 1)))))
(eval . (progn
;; the require here avoids projectile errors:
;; "Symbol’s function definition is void: put-clojure-indent"
(require 'clojure-mode)
(require 'cider)
(put-clojure-indent 'sci-macro :defn)
(put-clojure-indent 'careful-def 1))))))

0 comments on commit b80a0f4

Please sign in to comment.