This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2021-05-02
Channels
- # announcements (31)
- # babashka (19)
- # beginners (90)
- # biff (1)
- # calva (172)
- # cider (3)
- # cljsrn (3)
- # clojure (84)
- # clojure-australia (1)
- # clojure-europe (11)
- # clojurescript (48)
- # css (1)
- # data-science (9)
- # datalog (3)
- # emacs (16)
- # events (2)
- # fulcro (8)
- # jackdaw (31)
- # luminus (3)
- # malli (3)
- # off-topic (13)
- # onyx (3)
- # random (1)
- # remote-jobs (2)
- # shadow-cljs (88)
- # vim (1)
- # xtdb (13)
@dpsutton That did the trick!
(setq clojure-align-separator 'entire)
https://github.com/clj-kondo/clj-kondo.lsp/blob/master/bb.ednI am currently trying out lsp-mode with clojure and I do somewhat like it so far, but what's driving me insane is that it won't align any forms, although align automatically is set to true
I've read it uses cljfmt internally and this should be configurable, but I couldn't find out how
If so, this is not possible with clojure-lsp yet because of https://clojurians.slack.com/archives/CHB5Q2XUJ/p1619891221242100
the onlyt possible way to do that is with clojure-align
built-in in clojure-mode
for emacs
I personally really dislike this kind of alignment. It's quite inconsistent between editors and when done manually it ends up full of random/personal rules. When working with code bases with many contributors it ends up quite messy in my experience.