bitc / vim-hdevtools

Vim plugin for Haskell development
132 stars 25 forks source link

hdevtools not checking correctly through tmux #9

Closed adinapoli closed 11 years ago

adinapoli commented 11 years ago

Hi everyone,

I've been using hdevtools for a while and this is the first time I'm encountering this problem. In a nutshell I'm using vim and hdevtools into a sandbox environment (hsenv) but from a tmux window. If I try to check a simple file I get this (obviously digestive-functor is installed!):

src/Models.hs:6:8:
    Could not find module `Text.Digestive'
    Use -v to see a list of the files searched for.

but if I fire up another shell window, this time WITHOUT any tmux session, and I enable hsenv the checking goes well. My speculation is that using Tmux is causing hdevtools not to correctly handling the packages path. Any user experienced the same problem? I can give you Tmux, Ghc and hdevtool version if required :) I know is a bit vague as bug, and strictly not related to the Vim bundle, but I thought it might be useful not just for me :) If my memory isn't tricking me, with previous version of Tmux/Ghc/Hdevtools I never experienced this problem (probably I'm talking about 2-3 months ago). Any idea of something which could have broke the equilibrium? :)

adinapoli commented 11 years ago

No, tmux doesn't seems to matter, I'm getting the check error also in a "plain" shell. I'll reopen when I'll figure out what is going on.