This page is not created by, affiliated with, or supported by Slack Technologies, Inc.
2018-10-05
Channels
- # 100-days-of-code (13)
- # announcements (3)
- # beginners (120)
- # boot (17)
- # calva (19)
- # cider (27)
- # cljdoc (3)
- # cljs-dev (1)
- # clojure (138)
- # clojure-dev (5)
- # clojure-italy (5)
- # clojure-nl (20)
- # clojure-russia (3)
- # clojure-spec (14)
- # clojure-uk (119)
- # clojurescript (45)
- # core-async (2)
- # datomic (23)
- # editors (28)
- # emacs (35)
- # figwheel (2)
- # fulcro (26)
- # graphql (2)
- # hyperfiddle (11)
- # jobs (4)
- # luminus (5)
- # mount (2)
- # off-topic (52)
- # onyx (39)
- # reagent (86)
- # ring-swagger (2)
- # spacemacs (20)
- # tools-deps (9)
- # yada (4)
@richiardiandrea Can you be more specific?
I guess you want fdef
font-locked as a special form/macro and whatever comes after it as a function name, right?
Right now it’s a special case - there’s some regexp checking for forms starting with def-something
, but we plan to remove this because of the false positives here and there.
But to answer the original question - yeah, that’s very possible, although I’m not certain we should be using the same font-locking as for definitions.
maybe def and fdef should be with the def face and whatever is after them should just be font-locked a keyword (green this in this example) and as a function in the second example?.
Yes I was talking about s/fdef
specifically sorry... I guess I am ok to leave white the symbol after it..it is a symbol after all.
Ok I will try to work out the code
@dumrat @bozhidar yes, I saw the exact same thing with neotree. A cider pop up will give you at least 10 new splits. Completely funky.
I have my CIDER/Figwheel-main terminology confused. I successfully (awesome!) jacked in to a Clojure REPL and a Figwheel-main CLJS repl. Everything works very nicely so far — but: I exited the CLJS repl by typing :cljs/quit
and now I’m in the figwheel.main “parent” repl. How do I start again a CLJS repl and connect CIDER to it?
If I try to do cider-connect-cljs
, I eventually get:
user> ExceptionInfo A build with id "dev" is already running. clojure.core/ex-info (core.clj:4739)
Also I’m not sure what (if anything) should I put in my deps.edn. I don’t suppose CIDER injects anything figwheel related, right?
I’ll give it a shot. The rationale for this was that I changed my build settings slightly and wanted to restart the build, which is possible via the REPL, but not within the CLJS repl AFAICT?