When I build a cabal project in vim, using
:set makeprg=cabal\ build
:make
haskellmode-vim doesn't seem to find the type information. Doing _t
when the cursor is on foo
gives me "foo type not known".
How can I get haskellmode-vim to obtain the type information from a cabal build?
Doing
:GHCReload
allows me to use_t
and_T
.