Fork me on GitHub
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? ``` ;; <> (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 ;; <> ;; breaking stuff? ;; (add-hook 'clojure-mode-hook #'aggressive-indent-mode)


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