Skip to content

Commit

Permalink
docs(README): Add neovim support in text editors section
Browse files Browse the repository at this point in the history
* Add indentation to codeblock in vim instructions.
  • Loading branch information
rafamadriz committed Aug 16, 2022
1 parent fa350e6 commit 080202e
Showing 1 changed file with 15 additions and 5 deletions.
20 changes: 15 additions & 5 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -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

Expand Down

0 comments on commit 080202e

Please sign in to comment.