1
0
mirror of https://github.com/mgechev/revive.git synced 2025-01-22 03:38:47 +02:00

docs(README): Add neovim support in text editors section (#734)

* add instructions for using revive from neovim
This commit is contained in:
Rafael Madriz 2022-08-20 01:58:47 -03:00 committed by GitHub
parent fa350e6eb8
commit a4add4a769
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -143,11 +143,21 @@ If you want to use revive with Bazel, take a look at the [rules](https://github.
- Support for Atom via [linter-revive](https://github.com/morphy2k/linter-revive).
- Support for vim via [dense-analysis/ale](https://github.com/dense-analysis/ale).
```vim
let g:ale_linters = {
\ 'go': ['revive'],
\}
```
```vim
let g:ale_linters = {
\ 'go': ['revive'],
\}
```
- Support for Neovim via [null-ls.nvim](https://github.com/jose-elias-alvarez/null-ls.nvim).
```lua
require("null-ls").setup({
sources = {
require("null-ls").builtins.diagnostics.revive
},
})
```
### GitHub Actions