Open practicalli-johnny opened 4 years ago
Some libraries will extend the Clojure language with macros but these will not be recognised by Cider intention rules.
Use the clojure mode variable clojure-defun-indents to use the same indent rule as an existing part of the Clojure language.
clojure-defun-indents
(put-clojure-indent 'some-symbol :defn)
This can be added to a . dir-locals.el for a specific problem or added to .spacemacs for all projects.
Can be added as a Clojure layer variable or in the dotspacemacs/user-config section of .spacemacs
Some libraries will extend the Clojure language with macros but these will not be recognised by Cider intention rules.
Use the clojure mode variable
clojure-defun-indents
to use the same indent rule as an existing part of the Clojure language.This can be added to a . dir-locals.el for a specific problem or added to .spacemacs for all projects.
Can be added as a Clojure layer variable or in the dotspacemacs/user-config section of .spacemacs