summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndrew Brunker <andrew@brunker.net.au>2024-03-12 16:44:04 +1100
committerGitHub <noreply@github.com>2024-03-12 14:44:04 +0900
commit831f7393400935fadb1e762009ff3bd11d9fbe3b (patch)
tree5eaa50d25acff9044703328e586864b071943cfd
parent8f9197b79b54e01b1f1cb2486ee30124c8e7b4d9 (diff)
downloadale-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.md18
1 files changed, 18 insertions, 0 deletions
diff --git a/README.md b/README.md
index 683cbc66..26b4144f 100644
--- a/README.md
+++ b/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