eagletmt / ghcmod-vim

Happy Haskell programming on Vim, powered by ghc-mod
http://www.vim.org/scripts/script.php?script_id=4473
433 stars 59 forks source link

Bug in ghcmod#basedir() when using a stack project and stack is complaining to stderr #90

Open ilyagr opened 8 years ago

ilyagr commented 8 years ago

ghcmod-vim does not work with my stack project. I think the issue is related to the fact that stack path --project-root prints Continuing despite missing tool: msys2 to stderr before printing the path to stdout. The function ghcmod#basedir() returns both lines instead of just the path.

jimenezrick commented 8 years ago

That stderr is coming from stack or ghc-mod itself? Because if it's coming from ghc-mod it should be fixed now.

Not sure if this vim plugin or ghc-mod actually calls stack though.