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
- Host: GitHub
- URL: https://github.com/alx741/vim-ghcid
- Owner: alx741
- Created: 2019-06-11T03:02:35.000Z (almost 7 years ago)
- Default Branch: master
- Last Pushed: 2019-06-14T18:05:59.000Z (almost 7 years ago)
- Last Synced: 2025-05-17T17:07:24.792Z (about 1 year ago)
- Topics: ghcid, haskell, plugin, quickfix, vim
- Language: Vim script
- Homepage:
- Size: 4.88 KB
- Stars: 0
- Watchers: 1
- Forks: 1
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
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
```