summaryrefslogtreecommitdiffstats
path: root/lua/plugins/ale.lua
diff options
context:
space:
mode:
Diffstat (limited to 'lua/plugins/ale.lua')
-rw-r--r--lua/plugins/ale.lua16
1 files changed, 16 insertions, 0 deletions
diff --git a/lua/plugins/ale.lua b/lua/plugins/ale.lua
new file mode 100644
index 0000000..36bba77
--- /dev/null
+++ b/lua/plugins/ale.lua
@@ -0,0 +1,16 @@
+return {
+ {
+ '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
+ }
+}