Neovim plugin that runs ghcid to update the quickfix list


Version on this page:0.2.0
LTS Haskell 22.26:
Stackage Nightly 2024-06-22:
Latest on Hackage:

See all snapshots nvim-hs-ghcid appears in

Apache-2.0 licensed by Sebastian Witte
Maintained by [email protected]
This version can be pinned in stack with:nvim-hs-ghcid-0.2.0@sha256:a21468a8ea5ba4fa73f784133d8990ae1cfc9e4549728013935206ef8f09f917,2310

Module documentation for 0.2.0


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!.