Use null-ls vs ale for lua

This commit is contained in:
ViViDboarder 2021-12-15 15:32:33 -08:00
parent 24f2e9b645
commit cdc06953d2
2 changed files with 2 additions and 0 deletions

View File

@ -6,6 +6,7 @@ vim.g.ale_linters = {
go = {}, go = {},
rust = {}, rust = {},
python = {}, python = {},
lua = {},
-- sh = {'language_server', 'shell', 'shellcheck'}, -- sh = {'language_server', 'shell', 'shellcheck'},
sh = {}, sh = {},
text = { "proselint", "alex" }, text = { "proselint", "alex" },

View File

@ -199,6 +199,7 @@ function M.config_null_ls()
-- Rust -- Rust
-- null_ls.builtins.formatting.rustfmt, -- null_ls.builtins.formatting.rustfmt,
-- Lua -- Lua
null_ls.builtins.diagnostics.luacheck,
null_ls.builtins.formatting.stylua, null_ls.builtins.formatting.stylua,
}, },
}) })