There is an issue with ghcmod-vim (I believe) when you have more than five nested directories / module hierarchies.
To reproduce:
git clone https://github.com/aaronlevin/ghcmod-vim-issue.git && cd ghcmod-vim-issue
vim src/One/Two/Three/Four/Five/E.hs
- in
vim
, make a change that will cause a compilation failure. - go into the dialog buffer and hit enter to go to the line of code that errors. You should be presented with a blank buffer.
If you repeat the same instructions with the file src/One/Two/Three/Four/D.hs
you won't get an error.