Fork me on GitHub
#cider
<
2017-06-14
>
dpsutton02:06:46

@jasonjckn i'm unable to duplicate what you're seeing

dpsutton02:06:54

(cider-interactive-eval "(+ 1 b)") gives me a stacktrace window

mike_ananev12:06:02

Hi! I'm using Spacemacs and opened two repl processes: 1- jvm, 2-cljs +figwheel. When I send cljs S-exp to REPL I got a stacktrace, cause S-exp is evaluated in JVM repl. How to send CLJS S-exp to appropriate repl?

naomarik18:06:11

@mike1452 if the buffer is in clojurescript-mode it should choose the correct repl automatically.

mike_ananev21:06:06

@naomarik yes, that was an issue. for cljs files by default I had clojure mode. now I've added (add-to-list 'auto-mode-alist '("\.cljs$" . clojurescript-mode)) and then everything works as expected

naomarik21:06:43

@mike1452 strange you had to do that — spacemacs does this automatically for me. do you have the clojure layer enabled?

dpsutton21:06:48

is this a cljc file by any chance?

mike_ananev21:06:38

@naomarik found wrong setting in my custom files. now spacemacs works correctly without additional settings.