This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2023-10-04
Channels
- # announcements (6)
- # babashka (7)
- # beginners (2)
- # biff (5)
- # calva (2)
- # cherry (17)
- # cider (3)
- # clj-kondo (8)
- # clojure (202)
- # clojure-brasil (8)
- # clojure-europe (20)
- # clojure-norway (23)
- # clojure-uk (4)
- # clojuredesign-podcast (5)
- # conjure (1)
- # cursive (9)
- # eastwood (22)
- # events (8)
- # fulcro (3)
- # hyperfiddle (22)
- # introduce-yourself (7)
- # lsp (67)
- # malli (1)
- # matrix (1)
- # meander (6)
- # off-topic (76)
- # pedestal (8)
- # polylith (17)
- # quil (12)
- # re-frame (2)
- # reagent (8)
- # releases (3)
- # shadow-cljs (67)
- # sql (93)
- # squint (39)
- # tools-deps (46)
- # vim (7)
Has anyone else seen identation break for helix's defnc macro in latest CIDER? and other def-like macros
See https://github.com/lilactown/helix/issues/146 and related threads over #cider
The fix would be very simple, namely declare indentation metadata explicitly (as people always were supposed to)
https://docs.cider.mx/cider/indent_spec.html
You can, in the meantime, alter-meta!
the vars to add a sensible :style/indent
in user.clj
Hope it helps!
I have good news though, def-like macros will get no more inference starting from the next cider-nrepl release (should be available around tomorrow)
https://github.com/clojure-emacs/orchard/pull/194
Some macros like helix' $
will still need to get an explicit specification for them to behave as usual.