I'm running lein repl
in a project, and it successfully starts up and creates the file target/repl-port.
Using VIM version 7.4.86 I can use a command like:
:Connect nrepl://localhost:57644
Vim then successfully connects to the repl, and all is good.
However, my understanding is that vim-fireplace is able to make this connection all by itself using the target/repl-port file. That is not happening. I did see a comment about lein 2.3 changing to use target/repl/repl-port (I use lein 2.0.0 for this project - a requirement that is out of my control) so I tried to creating a symlink at this location, but that isn't picked up either.
I'm using the version of vim-fireplace from:
github.com/tpope/vim-fireplace
at the latest commit, which is currently:
f1b8096b3fe00cd9594c8a2bf0819efc154e9843
(Date: Wed Oct 23 21:25:53 2013 -0700)
I'm hoping to automate this connection. I'm not big on VIMscript, so I was hoping that there might be some way to track down the issue without having to delve into the sources.
struggled a little bit with that too.
Then it should connect automatically.
Fireplace only connects automatically, when you open a clojure file.
best regards
adrian
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With