vim

For discussion on all things (neo)vim.
2020-08-10T06:18:06.007400Z

Hey all - I'm trying to get vim-iced to work with a cljs project. Anytime I try to connect I get the message:

Missing dependency: refactor-nrepl/refactor-nrepl => 2.5.0
Missing dependency: nrepl/nrepl => 0.7.0
Missing dependency: iced-nrepl/iced-nrepl => 1.0.4
Some dependencies or middlewares are missing. It will be the cause of malfunction.
This is despite those dependencies being specified in both my shadow-cljs.edn file as well as passing them in manually as dependencies via the command line. The functionality is indeed malfunctioning, nearly every command fails. Any suggestions on how to investigate why this failure is happening?

2020-08-10T21:32:54.016700Z

Could you show me your shadow-cljs.edn? I'll try to reproduce.

2020-08-14T23:29:10.037900Z

@bendy Oh, it seems updating to qualified name is the cause. https://github.com/liquidz/vim-iced/commit/74cffa5baf23304ca1b0da283ccd80fabc929b73#diff-29bd8491c570ce25397243cf594a6245 Thanks for your reporting!

dominicm 2020-08-10T08:34:08.007800Z

@bendy I think iced ships with a cli you can use to start your project?

2020-08-10T13:05:52.008300Z

@dominicm yeah it's a shadow-cljs project so you need to workaround quite a few things

2020-08-10T13:06:23.008900Z

vim-iced works great for my clojure projects but I gave conjure a try this morning and have been enjoying it

2020-08-10T13:06:58.009600Z

does anyone know if there is a conjure equivalent to "run tests for current namespace"?

2020-08-10T13:07:16.010Z

or conjure users what your process/worflow is to run tests during development

Olical 2020-08-10T13:08:04.010400Z

<prefix>tn should do the trick!

Olical 2020-08-10T13:08:20.010800Z

tc is the test under your cursor

Olical 2020-08-10T13:08:57.011600Z

See :help conjure-client-clojure-nrepl for the exhaustive list, I think I have one that will run the test file for your current source file too :thinking_face: as in it appends -test if it's not there.

2020-08-10T13:09:13.011800Z

oh awesome, thanks!

2020-08-10T13:09:40.012500Z

I was digging around in :help conjure and there was no mention/indication of this

2020-08-10T13:10:30.013400Z

Looks like there is a second round of docs to dig into though! 😄

Olical 2020-08-10T13:10:39.013600Z

Yeah, sorry about that, the notes about the client specific help files are down the bottom, I should shuffle it around to make it more prominent. The divide in the helpfiles is a source of confusion for a few people.

Olical 2020-08-10T13:11:04.014200Z

Some things are common to every Conjure client, some things are Clojure specific. I have to split it up or you'll end up with thousands of lines of help where only some of it is relevant 😬

Olical 2020-08-10T13:11:33.014700Z

Also see #conjure for more specific chat as well as https://conjure.fun/discord if you have further questions 🙂

Olical 2020-08-10T13:13:34.015100Z

I'll make a note to make the divide in help files more obvious.

2020-08-10T13:14:50.015700Z

Yes not a problem, just thought I'd give the feedback! Thanks for all the hard work let me know if there's any way I can help 🙂

Olical 2020-08-10T13:16:43.016500Z

Thanks for the feedback! It's super helpful! Letting me know what I can improve is always a huge help.

2020-08-10T21:32:54.016700Z

Could you show me your shadow-cljs.edn? I'll try to reproduce.