mirror of https://github.com/dense-analysis/ale
* docs: Add lazy.nvim configration #4694 * docs: fix typo, and add lazy.nvim configuration example
This commit is contained in:
parent
8f9197b79b
commit
831f739340
18
README.md
18
README.md
|
@ -293,6 +293,24 @@ Plugin 'dense-analysis/ale'
|
|||
git clone https://github.com/dense-analysis/ale ~/.vim/bundle/ale
|
||||
```
|
||||
|
||||
#### [lazy.nvim](https://github.com/folke/lazy.nvim)
|
||||
```lua
|
||||
{
|
||||
'dense-analysis/ale',
|
||||
config = function()
|
||||
-- Configuration goes here.
|
||||
local g = vim.g
|
||||
|
||||
g.ale_ruby_rubocop_auto_correct_all = 1
|
||||
|
||||
g.ale_linters = {
|
||||
ruby = {'rubocop', 'ruby'},
|
||||
lua = {'lua_language_server'}
|
||||
}
|
||||
end
|
||||
}
|
||||
```
|
||||
|
||||
## Contributing
|
||||
|
||||
If you would like to see support for more languages and tools, please
|
||||
|
|
Loading…
Reference in New Issue