Fork me on GitHub
#cider
<
2021-02-19
>
Casey08:02:25

Could someone kindly point me to the location in the cider docs that discusses how to teach it that some macro acts like defn or def ? Using mount's defstate like (defstate foo :start (do-foo)) cider reports that foo is an unresolved symbol and puts the red squiggle underneath

solf09:02:44

Cider doesn't put unresolved symbol squiggles, that's usually clj-kondo (either standalone or through clojure-lsp). If it's indeed clj-kondo you're using, here's the docs for what you want: https://github.com/clj-kondo/clj-kondo/blob/master/doc/config.md#unrecognized-macros

🙏 4
Casey11:02:31

Ah many thanks, it is clj-kondo indeed. Sometimes it's difficult keeping track of what is doing what as an emacs neophyte.

Casey11:02:37

I've used a config like this to popup the replon the right side.

(set-popup-rules!
          '(
            ("^\\*cider-repl" :quit nil :side right :size 70)))
In projects where I have two repls (clj and cljs) open, the normal split window isn't working. Is it possible to have both repls visible on the right with a horizontal split?

yuhan13:02:20

This looks like a Doom emacs specific config, you might want to ask on their discord server instead