Fork me on GitHub
#cider
<
2023-05-05
>
joshcho04:05:03

Hi all, my current project has shadow-cljs for frontend and lein for the backend. This creates problems in CIDER, where I cannot be connected to both instances. I would like to use cider-connect-clj&cljs, and it seems I need both to be the same build tool (lein or shadow-cljs). How would I accomplish this? I currently have a project.clj and shadow-cljs.edn. Do I need to change shadow-cljs.edn to use lein, or somehow convert project.clj into shadow-cljs?

joshcho05:05:18

I am reading up on https://clojurians.slack.com/archives/C0617A8PQ/p1644353386501839, but I am open to simply use something different from lein

cjohansen07:05:00

I’m using a regex to highlight custom def* macros. It highlights defwhatever the way I want, presumably using font-lock-keyword-face. But what’s the name of the font-lock-*-face for the symbol being defined?

Ellis07:05:20

You can do M-x describe-char to give you the face(s) of the char under point, in this case it looks like font-lock-function-name-face but that could be because of clojure-ts-mode It's worth binding it to something, Doom uses C-h '

cjohansen07:05:42

Amazing, did not know that 🙏

Ellis08:05:48

You're welcome 😄