Fork me on GitHub
#vim
<
2020-06-04
>
geraldodev10:06:59

Hi, anyone having success making vim and shadow-cljs talk ?

Aron10:06:36

I use neovim, I can eval stuff and it shows up in the browser in my shadow-cljs build. I use conjure for this.

geraldodev10:06:17

socket repl of conjure is working with shadow-cljs ?

dharrigan11:06:21

yes. conjure and shadow-cljs works

Olical11:06:51

Conjure's latest version is over shadow-cljs's nREPL connection since you get all sorts of neat stuff out of the box. (completion if you add the cider middleware too!) I may well add socket / prepl support as an alternative client you can switch to some day, but for now Conjure is nREPL only. Just to clarify the socket REPL comment from @geraldodev 🙂

Olical11:06:57

Process is: Start shadow-cljs, open a CLJS file in Neovim, run :ConjureShadowSelect [app name] and start evaluating. https://github.com/Olical/conjure/wiki/Quick-start:-ClojureScript-(shadow-cljs)

geraldodev12:06:54

completion with cljs in vim is a dream I've stopped dreaming a long ago. Don't tease me 🙂 Gotta try.

martinklepsch12:06:04

How do I configure Vim so that in Clojure buffers it regards slashes as word separators? Am I weird for wanting this? 😄

dominicm12:06:59

For me, / iskeyword in clojure buffers.