An open API service indexing awesome lists of open source software.

https://github.com/alx741/vim-ghcid

Haskell ghcid vim integration plugin - load errors/warnings into the quickfix list
https://github.com/alx741/vim-ghcid

ghcid haskell plugin quickfix vim

Last synced: 28 days ago
JSON representation

Haskell ghcid vim integration plugin - load errors/warnings into the quickfix list

Awesome Lists containing this project

README

          

# vim-ghcid

Integrates with [ghcid](https://github.com/ndmitchell/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"):

```vim
let g:ghcid_cmd = "ghcid"
```

Additional *ghcid* CLI arguments to use (default = ""):

```vim
let g:ghcid_args = "--warnings --test testModule.test"
```

Show all of ghcid's output in the quickfix window (default = 0):

```vim
let g:ghcid_verbose = 0
```

Automatically open the quickfix window when there are errors (default = 1):

```vim
let g:ghcid_open_on_error = 1
```

Automatically open the quickfix window when there are warnings (default = 0):

```vim
let g:ghcid_open_on_warning = 0
```