Fork me on GitHub
#vim
<
2018-02-27
>
dominicm07:02:06

Vim fireplace does things a little strangely, which is why it happens

Hukka16:02:23

Just getting my (neo)vim workflow set up for cljs, and my emacs using coworker demoed how cider runs and shows tests very nicely. Tips on how to configure something similar for the modal editor?

Hukka16:02:22

(Not actually using vim-fireplace for now, just jeb's :terminal script)

dominicm16:02:00

You'd probably need to find an alternative test output library like humane test output, and use that.

jebberjeb16:02:04

@tomi.hukkalainen_slac and the I guess you’d need to create a mapping to send whatever clojure invokes your tests to that buffer (run-all-tests) or whatever.

Hukka16:02:55

Hm. Any ideas how to handle multiple :terminal repls? If I read the vimscript correctly, it always tries sending to latest terminal. I can live without doing any other cli work inside neovim, but it would be nifty to be able to somehow send stuff to either serverside or browserside repl

Hukka16:02:17

Then again, I'm not sure how useful the clientside repl will be

jebberjeb16:02:27

@tomi.hukkalainen_slac that has been affecting me lately, I’ll open another :term to do something trivial, and it’s a problem. Thinking about it. It’s something I could use myself too.

jebberjeb17:02:43

@tomi.hukkalainen_slac I might take a crack at it. I’m thinking something like a REPLTerm function that takes some id parameter and stores some mapping of id -> term-job-id. Then, some way to toggle between the ids of the active repl terms, and use that to lookup the job id when evaling.

dominicm17:02:15

Piggieback scopes by directory, if you're up for something comprehensive

Hukka17:02:31

@jebberjeb Ok, looking forward to it!

dave20:02:42

@tomi.hukkalainen_slac / @jebberjeb have you seen https://github.com/kassio/neoterm ? i've been using it a lot lately, it's awesome

dave20:02:35

it would probably take some work to integrate it with your clj/cljs toolchain, but the foundation is solid

jebberjeb21:02:32

@dave taking a look now, thanks