docs: Add lazy.nvim configration #4694 (#4739)

* docs: Add lazy.nvim configration #4694

* docs: fix typo, and add lazy.nvim configuration example
This commit is contained in:
Andrew Brunker 2024-03-12 16:44:04 +11:00 committed by GitHub
parent 8f9197b79b
commit 831f739340
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -293,6 +293,24 @@ Plugin 'dense-analysis/ale'
git clone https://github.com/dense-analysis/ale ~/.vim/bundle/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 ## Contributing
If you would like to see support for more languages and tools, please If you would like to see support for more languages and tools, please