-
Notifications
You must be signed in to change notification settings - Fork 2
/
README
43 lines (25 loc) · 1.18 KB
/
README
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
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.