This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-02-19
Channels
- # announcements (1)
- # architecture (8)
- # babashka (8)
- # beginners (68)
- # biff (1)
- # calva (2)
- # clj-kondo (13)
- # cljs-dev (2)
- # clojure (71)
- # clojure-art (26)
- # clojure-europe (14)
- # clojure-nl (10)
- # clojure-uk (4)
- # clojurescript (96)
- # community-development (6)
- # conjure (1)
- # datalog (2)
- # emacs (6)
- # fulcro (20)
- # hugsql (7)
- # lsp (6)
- # nextjournal (13)
- # off-topic (7)
- # portal (1)
- # reagent (3)
- # reveal (8)
- # sci (50)
- # shadow-cljs (8)
- # spacemacs (2)
- # tools-deps (9)
- # xtdb (6)
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)
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