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.
- Host: GitHub
- URL: https://github.com/cloudhead/neovim-ghcid
- Owner: cloudhead
- License: bsd-3-clause
- Created: 2016-08-19T13:32:28.000Z (over 9 years ago)
- Default Branch: master
- Last Pushed: 2016-09-04T12:50:25.000Z (over 9 years ago)
- Last Synced: 2025-04-08T22:22:11.533Z (11 months ago)
- Language: VimL
- Homepage:
- Size: 30.3 KB
- Stars: 22
- Watchers: 3
- Forks: 2
- Open Issues: 1
-
Metadata Files:
- Readme: README
- License: LICENSE
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.