The nvim-hs-ghcid package

[ Tags: apache, editor, library ] [ Propose Tags ]

This plugin uses the nvim-hs plugin backend for neovim and fills the quickfix list on file-saves with the errors and warnings that ghcid determines.

The only limitation for this tool is that it needs a .cabal file to work.

This plugin provides 3 commands:

:GhcidStart will prompt you for the configuration you want to use. It should guess a reasonable option based on the files present in your project directory and so you will just have to press enter all the time. If you provide a bang, these questions will not be asked.

:GhcidStop stops the current ghcid process.

:GhcidRestart combines the two previous commands.

Simply import the plugin definition from Neovim.Ghcid and add it to your plugin list.

[Skip to Readme]


Versions 0.1.0, 0.2.0
Dependencies base (>=4.6 && <5), bytestring, containers (>=0.5), directory, filepath, ghcid (>=0.6.1), nvim-hs (>=0.2.0), nvim-hs-contrib (>=0.2.0), resourcet, transformers, yaml [details]
License Apache-2.0
Copyright Sebastian Witte <>
Author Sebastian Witte
Category Editor
Home page
Uploaded Mon Apr 17 22:23:56 UTC 2017 by saep
Distributions LTSHaskell:0.2.0, NixOS:0.2.0, Stackage:0.2.0
Downloads 133 total (17 in the last 30 days)
Rating 0.0 (0 ratings) [clear rating]
  • λ
  • λ
  • λ
Status Docs not available [build log]
All reported builds failed as of 2017-04-17 [all 3 reports]
Hackage Matrix CI


  • Neovim
    • Neovim.Ghcid
      • Neovim.Ghcid.Plugin


Maintainer's Corner

For package maintainers and hackage trustees

Readme for nvim-hs-ghcid-0.2.0

[back to package description]


Ghcid integration plugin for nvim-hs.

This plugin fills the quickfix list with location of compiler errors and warnings. Warnings are only added to the quickfix list if no errors are present.


Add the plugin to your nvim-hs config file.

Sample configuration file:

import Neovim

import qualified Neovim.Ghcid as Ghcid

main :: IO ()
main = neovim defaultConfig
    { plugins = defaultPlugins defaultConfig ++ [ Ghcid.plugin ]



To initialize a Ghcid session which will fill the quickfix list on errors/warnings. If you add a bang, it will not ask you for the configuration and uses the last saved configuration for the project or guesses a configuration.


Stop the Ghcid session for the project in which the current file resides.


Same as :GhcidStop followed by :GhcidStart!.