diff options
author | Andrew Brunker <andrew@brunker.net.au> | 2024-03-12 16:44:04 +1100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2024-03-12 14:44:04 +0900 |
commit | 831f7393400935fadb1e762009ff3bd11d9fbe3b (patch) | |
tree | 5eaa50d25acff9044703328e586864b071943cfd | |
parent | 8f9197b79b54e01b1f1cb2486ee30124c8e7b4d9 (diff) | |
download | ale-831f7393400935fadb1e762009ff3bd11d9fbe3b.zip |
docs: Add lazy.nvim configration #4694 (#4739)
* docs: Add lazy.nvim configration #4694
* docs: fix typo, and add lazy.nvim configuration example
-rw-r--r-- | README.md | 18 |
1 files changed, 18 insertions, 0 deletions
@@ -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 |