vim-hoogle
vim-hoogle copied to clipboard
Does vim-hoogle work with stack?
I'm using the stack package manager, and vim-hoogle doesn't seem to just work the way it does in cabal. Whenever I hoogle something in vim, I get the error
"HoogleSearch" [Not edited] --No lines in buffer--
shell returned 127
vim-hoogle work with hoogle (the executable which should be in your path), it doesn't give a fuck about cabal or stack
@timchu did you ever find a fix for this? I see something similar with a missing db error
Error, database does not exist (run 'hoogle generate' first)
Filename: /home/will/.hoogle/default-haskell-5.0.1.hoo
The ~/.hoogle directory does not appear to exist at all. Even after running hoogle data.
hoogle on my command line works fine
Yes, it can be used with stack by adding this line to your .vimrc
let g:hoogle_search_bin = 'stack hoogle --'