1
0
mirror of https://github.com/mgechev/revive.git synced 2025-02-13 13:48:36 +02:00

Update readme with vim support

This commit is contained in:
mgechev 2018-06-08 16:04:26 -07:00
parent 1b84ff83dd
commit 8198433610
No known key found for this signature in database
GPG Key ID: 3C44F5A2A289C6BB

View File

@ -63,6 +63,18 @@ Since the default behavior of `revive` is compatible with `golint`, without prov
### Text Editors
- Support for VSCode in [vscode-go](https://github.com/Microsoft/vscode-go/pull/1699).
- Support for vim via [w0rp/ale](https://github.com/w0rp/ale):
```vim
call ale#linter#Define('go', {
\ 'name': 'revive',
\ 'output_stream': 'both',
\ 'executable': 'revive',
\ 'read_buffer': 0,
\ 'command': 'revive %t',
\ 'callback': 'ale#handlers#unix#HandleAsWarning',
\})
```
### Installation