Fork me on GitHub
#spacemacs
<
2022-02-19
>
Drew Verlee18:02:20

Is anyone using aggresive indent mode? it's too aggresive! like if i'm typing ... cursor at * `:a *)` then automatically moves the paren back `:a*)` idk maybe if i could configure the time on its reaction? or maybe something is wrong because its conflicting with my clojure variables? ``` ;; <https://develop.spacemacs.org/layers/+lang/clojure/README.html> (clojure :variables ;; clojure-backend 'cider ;; use cider and disable lsp ;; clojure-enable-linters 'clj-kondo ;; clj-kondo included in lsp cider-repl-display-help-banner nil ;; disable help banner cider-stacktrace-default-filters 'project cider-print-fn 'puget ;; fast pretty printing clojure-indent-style 'align-arguments clojure-align-forms-automatically t clojure-toplevel-inside-comment-form t ;; evaluate expressions in comment as top level cider-result-overlay-position 'at-point ;; results shown right after expression cider-overlays-use-font-lock t cider-repl-buffer-size-limit 100 ;; limit lines shown in REPL buffer clojure-enable-fancify-symbols t ;; fn and comp now look cool as shit clojure-enable-clj-refactor t ;; i never get to use this but its nice to imagine i could! )``` ;; Auto-indent code automatically ;; <https://emacsredux.com/blog/2016/02/07/auto-indent-your-code-with-aggressive-indent-mode/> ;; breaking stuff? ;; (add-hook 'clojure-mode-hook #'aggressive-indent-mode)

practicalli-johnny14:02:41

I stopped using aggressive indent mode as it was getting too aggressive on large expressions. LSP formatting is less aggressive, but doesn't automatically align forms

👍 1