Integrates with ghcid in the background so it loads errors and warnings in the quickfix window every time you save your code, and does it fast.
Inspired by aiya000's version.
Compatible with Vundle
, Pathogen
, Vim-plug
, etc.
Start Ghcid with :GhcidStart
. Stop it with :GhcidStop
Configure the ghcid command to use. Useful if it's outside your PATH (default = "ghcid"):
let g:ghcid_cmd = "ghcid"
Additional ghcid CLI arguments to use (default = ""):
let g:ghcid_args = "--warnings --test testModule.test"
Show all of ghcid's output in the quickfix window (default = 0):
let g:ghcid_verbose = 0
Automatically open the quickfix window when there are errors (default = 1):
let g:ghcid_open_on_error = 1
Automatically open the quickfix window when there are warnings (default = 0):
let g:ghcid_open_on_warning = 0