Should the calva-jack-in REPL load user.clj at start up like the CLI clj command does? It appears not to do this by default, so maybe there is a way to configure this behaviour?
OK, maybe I should be using startCode or connectCode in cavva.replConnectSequences?
i just tried by placing user.clj
in a directory that was on my classpath with some success.
in my case the "src" subdirectory of my project was sufficient, but i think i read that anywhere on one's classpath ought to work.
fwiw, this is where i saw it: https://github.com/BetterThanTomorrow/calva/issues/81#issuecomment-429722095
(in a comment in the code)
@sogaiu Thanks, Yes - itβs working for me now - I had a silly misconfiguration.
glad to hear it's working π
Thanks for helping to help, @sogaiu β€οΈ
Found a minor bug/inconsistency in Calva's syntax highlighting. cond
is highlighted as a keyword but condp
is not:
Not a big deal obviously, just pointing out
Itβs pretty easy to fix, case by case: https://github.com/BetterThanTomorrow/calva/blob/dev/src/calva-fmt/atom-language-clojure/grammars/clojure.cson#L152