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:
parent
1b84ff83dd
commit
8198433610
12
README.md
12
README.md
@ -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
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user