An open API service indexing awesome lists of open source software.

https://github.com/cloudhead/neovim-ghcid

Provides instant haskell error feedback inside of neovim, via ghcid.
https://github.com/cloudhead/neovim-ghcid

Last synced: 6 months ago
JSON representation

Provides instant haskell error feedback inside of neovim, via ghcid.

Awesome Lists containing this project

README

          

neovim-ghcid

*************************************************************************************
** NOTICE: This project is now part of ghcid. **
** Its new home is at https://github.com/ndmitchell/ghcid/tree/master/plugins/nvim **
*************************************************************************************

Provides instant haskell error feedback inside of neovim, via ghcid[1].
This should be a lot faster than running neomake with ghc-mod, and
also a lot simpler.

[1]: https://github.com/ndmitchell/ghcid

. Obligatory gif

https://github.com/cloudhead/images/raw/master/neovim-ghcid.gif

. Dependencies

* neovim >= 0.1.5 (https://github.com/neovim/neovim)
* ghcid >= 0.6.5 (https://github.com/ndmitchell/ghcid)

. Installation

If you're using vim-plug, then add:

Plug 'cloudhead/neovim-ghcid'

to your init.vim. Alternatively, copy the files to your .config/nvim
folder.

. Usage

':Ghcid' runs ghcid inside a neovim terminal buffer and populates
the quickfix list with any errors or warnings.

After every file save, the quickfix list is updated with the output
of ghcid.

':GhcidKill' kills the ghcid job.