sbt-quickfix
sbt-quickfix copied to clipboard
Issues with runtimepath on Vundle
Currently using the Vundle manager for my Vim setup, and everything I install through Vundle works fine. I added the necessary things to ~/.sbt/0.13/plugins/plugins.sbt
, launched SBT in a project somewhere, and ran the install-vim-plugin
command which seems to have installed it fine (I see ~/.vim/bundle/vim-sbt
).
However, when I startup vim and hit <leader>ff
, nothing happens. I inspect :echo &rtp
in vim and I don't see vim-sbt
on there so I'm guessing Vundle won't add things to the runtimepath
unless it's installed through Vundle itself.
I tried adding the directory manually via
set runtimepath^=~/.vim/bundle/vim-sbt/plugin
But that didn't work either (though it does appear in :echo &rtp
).
The contents of ~/.vim/bundle/vim-sbt
match the resources
folder in the repository. Below are what I have in the ~/.sbt/0.13
folder
// global.sbt
import com.dscleaver.sbt.SbtQuickFix.QuickFixKeys._
vimEnableServer := false
// plugins/plugins.sbt
addSbtPlugin("com.dscleaver.sbt" % "sbt-quickfix" % "0.4.1")
Any guidance would be appreciated - thanks!
I managed to get it working on Vundle by adding in my .vimrc the following:
source ~/.vim/bundle/vim-sbt/plugin/sbtquickfix.vim
Not really optimal, but getting there...