Fork me on GitHub
#cider
<
2019-06-28
>
myguidingstar07:06:21

I want to disable vertical alignment for a project, so I put this in .dir-locals.el but it doesn't seem to work. What should I do?

myguidingstar07:06:26

((clojure-mode . ((clojure-align-forms-automatically . nil))))

ag16:06:28

Maybe try it with eval, something like this:

((nil . ((eval . (with-eval-after-load 'clojure-mode (setq clojure-align-forms-automatically nil))))))

ag16:06:47

you can also leverage clojure-mode-hook probably

oskarkv18:06:30

Check the value of the clojure-align-forms-automatically in emacs, maybe it's set to nil but there's another problem