This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2019-12-30
Channels
- # adventofcode (7)
- # announcements (9)
- # babashka (20)
- # beginners (182)
- # calva (9)
- # cider (20)
- # circleci (3)
- # clj-kondo (1)
- # clojure (269)
- # clojure-europe (2)
- # clojure-india (1)
- # clojure-italy (6)
- # clojure-nl (5)
- # clojure-uk (50)
- # clojurescript (56)
- # code-reviews (3)
- # core-async (174)
- # datomic (4)
- # duct (1)
- # emacs (3)
- # events (1)
- # fulcro (31)
- # graalvm (10)
- # graphql (8)
- # jobs (1)
- # joker (11)
- # juxt (7)
- # luminus (2)
- # malli (4)
- # off-topic (2)
- # overtone (1)
- # pathom (2)
- # re-frame (24)
- # shadow-cljs (42)
- # sql (1)
- # tools-deps (10)
hey guys, happy Monday. I've been digging through all the ways of doing custom indentation for formatting. I have some macros that are getting 1 indentation and the team I'm on wants 2 spaces ie:
(go-try
(call-function))
should be:
(go-try
(call-function))
where the (
is under the o
in go as opposed to the g
has anyone found a good way in calva to customize these indentations?I saw that with cljfmt you can use an indentation.edn file but I don't entirely know where this should go or how to get calva to respect it
Calva would not respect it, unfortunately. Currently there is no way to customize the indentation. It might be the next thing I fix, though.
oh okay gotcha. thanks for the response Peter! I'm loving Calva by the way
About the indent conf support. I think it should be pretty straightforward to add. And I am on xmas leave from my day job, so there’s hope. 😃
oh badass. yeah I just got back to my day job and school starts in a few days :face_vomiting: . Otherwise I'd jump on trying to learn how to implement these features myself