vim

For discussion on all things (neo)vim.
Kailash K 2021-05-12T15:26:27.161500Z

#vim-iced connecting to repl locally works flawlessly but connecting to remote repls is almost impossible; Is there a read up or setup that I might be missing for connecting to remote repls with vim-iced. Fails with below error and after a while crashes VIM. I verified I’m able to connect to the remote repl from Conjure, Calva & Spacemacs without any issue….any pointers would be appreciated ✌️

grazfather 2021-05-12T16:12:52.162800Z

You said you can connect with other repls, so this is probably a waste of time, but can you connect to that host/port using e.g. netcat? if it’s not that, then my guess is that you’re entering the host/port in a way that iced isn’t understanding

grazfather 2021-05-12T16:14:27.163200Z

for example, how are you specifying the host? looks like you have to set g:iced#nrepl#host

Kailash K 2021-05-12T16:34:29.163300Z

yeah I used ^ to set the host

Kailash K 2021-05-12T16:34:58.163500Z

I’m able to connect with telnet fwiw

grazfather 2021-05-12T17:03:44.163700Z

alright 🙂 I just had to do a sanity test. is it a socket repl or a prepl?

grazfather 2021-05-12T17:04:16.163900Z

actually, connection refused is a strange one. I don’t know viml but if I were debugging this I would try to dump the host and port that iced is trying to make sure it’s correct

Kailash K 2021-05-12T17:10:11.164100Z

ok, let me try tinkering with it

grazfather 2021-05-12T18:46:15.164600Z

good luck