Skip to content

Latest commit

 

History

History
50 lines (31 loc) · 991 Bytes

File metadata and controls

50 lines (31 loc) · 991 Bytes

vim-ghcid

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.

Installation

Compatible with Vundle, Pathogen, Vim-plug, etc.

Usage

Start Ghcid with :GhcidStart. Stop it with :GhcidStop

Configuration

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