This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2022-05-15
Channels
- # announcements (20)
- # babashka (281)
- # beginners (13)
- # biff (8)
- # calva (20)
- # cider (5)
- # clj-commons (1)
- # clojure (46)
- # clojure-boston (1)
- # clojure-europe (6)
- # clojure-losangeles (24)
- # clojuredesign-podcast (3)
- # clojurescript (12)
- # datomic (1)
- # events (1)
- # fulcro (12)
- # guix (2)
- # honeysql (1)
- # integrant (1)
- # introduce-yourself (1)
- # rdf (16)
- # reagent (3)
- # reitit (14)
- # releases (3)
- # sci (28)
- # shadow-cljs (122)
- # specter (1)
- # tools-deps (10)
- # xtdb (6)
I'm having some trouble getting my configuration for cider/cljfmt set up. It doesn't look like the options I am setting are taking effect. I have set:
(setq cider-format-code-options
'(("remove-consecutive-blank-lines?" t)
("remove-multiple-non-indenting-spaces?" t)))
And inside this file I have run cider-format-buffer:
(ns temporale.network.test-format)
(def my-map {:a :b :c :d})
I would expect this file to be reformatted like this
(ns temporale.network.test-format)
(def my-map {:a :b :c :d})
But instead nothing has changed.This appears to be a bug, the cider--nrepl-format-code-request-map
function returns an empty dict
Is there any way to disable the Daad REPL exist. Reuse? (y or n)
question? I found this is only related with reuse a old cider buffer right, and usually to me typing n or y would result in the same
There's a github issue about this: https://github.com/clojure-emacs/cider/issues/3076
Personally I also found it annoying and simply edited the function, replacing the (y-or-n-p ...)
form with t
https://github.com/clojure-emacs/cider/blob/3eff4f9b10f9b748d752ff70a68b0ffa3be06419/cider-connection.el#L772