Add preliminary support for ghc-modi#54
Conversation
Right now only the 'type' and 'info' functions are supported. ghc-modi's `make` is still somewhat buggy.
|
I'm using this, I really like it. |
|
is anything holding it back? |
|
What's the status on this? |
|
@eagletmt can you merge this ? it seems to be working just fine and is a massive improvement in usability. |
|
+1 |
|
FYI, both issues mentioned by the @int3 in his first comment have been solved. |
|
It would be nice if But otherwise 👍 |
|
I've been using this fork myself and it's a massive improvement. Anything we can do to bring it into master? |
|
I rebased this on top of current master and changed a few things. Most notably I unified handling of newlines/boundary and added support for multiple ghc-modi instances (one per package). It works for me with a rather large multipackage haskell codebase that uses stack. See #102 for my pull request. |

This enables the
checkandinfofunctions to useghc-modiif it is available. This addresses part of #48.I had sketched an implementation for
makeas well, but it fails a lot ofghcmod-vim's tests due to DanielG/ghc-mod#275, so it's been left out for now.Also, ghc-modi does not support spaces in filenames (DanielG/ghc-mod#295), so
checkandinfoinherit this issue.The
g:ghcmod_should_use_ghc_modiflag determines whether the plugin attempts to useghc-modi.