Fork me on GitHub
#vim
<
2016-11-23
>
mikepjb10:11:22

neovim users, can you successfully run a clojure repl using the :terminal command as part of your workflow? I am getting horrible performance issues

mikepjb10:11:02

things like :Require from vim-fireplace take much longer than usual

meshy10:11:03

can you provide an example command to run, I'll give it a go

meshy10:11:29

bear in mind, though, that my clojure experience is very low ;)

mikepjb10:11:57

:term boot repl -p 9999

mikepjb10:11:05

inside a clojure project using boot

meshy10:11:26

ah, ok, can't help you there

mikepjb10:11:30

same here - still new and learning, appreciate the help!

meshy10:11:32

don't have any boot projects

mikepjb10:11:00

no worries 🙂

hkupty11:11:48

@mikepjb I usually work with a repl open using iron.nvim...

hkupty11:11:44

Even though it doesn't have bindings for boot yet, you can run IronPromptCommand and then pass the boot command to it

hkupty11:11:09

It has several bindings for requiring files

hkupty11:11:30

Such as <leader>sr and <leader>sR for requiring the current file and for requiring it aliased, respectively..

hkupty11:11:15

Much more is yet to come, but it is already very useful now..

hkupty11:11:41

I'm also working on other project, acid.nvim, for async clojure features on neovim

mikepjb11:11:24

thanks @ingvij when running UpdateRemotePlugins to setup iron.nvim it’s giving me an error

mikepjb11:11:43

only thing I can think is potentially I’ve compiled nvim without python support? anyway I will have another look after lunch 🙂

dominicm12:11:52

@mikepjb python neovim is installed via pip, and no longer compiled in

hkupty12:11:26

pip3 install --user neovim

mikepjb13:11:17

the error hasn’t resolved

function remote#host#UpdateRemotePlugins[6]..<SNR>37_RegistrationCommands[15]..remote#host#Require[13]..provider#pythonx#Require, line 15
Vim(if):Channel was closed by the client
This version of the neovim python package requires nvim 0.1.6 or later
function remote#host#UpdateRemotePlugins[6]..<SNR>37_RegistrationCommands[15]..remote#host#Require[13]..provider#pythonx#Require, line 25
Failed to load python3 host. You can try to see what happened by starting nvim with $NVIM_PYTHON_LOG_FILE set and opening the generated log file. Also, the host
 stderr is available in messages.
remote/host: generated rplugin manifest: /Users/Michael/.local/share/nvim/rplugin.vim

mikepjb13:11:47

I have tried brew reinstall neovim —HEAD and pip install --upgrade neovim

mikepjb13:11:14

and the nvim version is NVIM v0.1.6-309-g90bf31c

hkupty13:11:46

Try running :CheckHealth

hkupty13:11:01

it should warn if anything is not ok

mikepjb13:11:34

Python 3 provider is returning as a success

mikepjb13:11:46

the Remote Plugins - “iron.nvim” is not registered

mikepjb13:11:52

I’ll google that and see what happens

mikepjb13:11:09

nothing is added when NVIM_PYTHON_LOG_FILE is set

mikepjb13:11:45

very confusing! I’ve commented out everything except plug to install iron.nvim and fireplace

hkupty13:11:25

That is quite strange...

mikepjb13:11:31

I’ve reinstalled iron.nvim just incase something weird happened

mikepjb13:11:23

what seems weird to me is the message This version of the neovim python package requires nvim 0.1.6 or later

mikepjb13:11:42

but the nvim version is 0.1.6-309...

hkupty14:11:06

probably the version is too old...

hkupty14:11:30

I'm running here with version v0.2.0-104

hkupty14:11:10

hum.. shouldn't be old

mikepjb14:11:25

either way I’m running brew reinstall neovim -—HEAD to make sure

mikepjb14:11:30

ha one step forward, I’m now getting

remote/host: python3 host registered plugins ['iron']
remote/host: generated rplugin manifest: /Users/Michael/.local/share/nvim/rplugin.vim

mikepjb14:11:41

but :IronRepl is not available

mikepjb14:11:20

oh no… it is! we did it @ingvij

hkupty14:11:23

Awesome! Glad to hear it's working!