Move as much as possible from ALE to null-ls

This commit is contained in:
ViViDboarder 2022-01-10 14:41:08 -08:00
parent 6475f422ac
commit ae6ccdc96a
2 changed files with 8 additions and 5 deletions

View File

@ -10,6 +10,9 @@ vim.g.ale_linters = {
-- sh = {'language_server', 'shell', 'shellcheck'}, -- sh = {'language_server', 'shell', 'shellcheck'},
sh = {}, sh = {},
text = {}, text = {},
markdown = {},
fish = {},
ansible = {},
} }
vim.g.ale_linter_aliases = { vim.g.ale_linter_aliases = {
markdown = { "text" }, markdown = { "text" },

View File

@ -214,11 +214,11 @@ function M.config_null_ls()
local sources = { local sources = {
-- Generic -- Generic
-- null_ls.builtins.formatting.preittier, null_ls.builtins.formatting.preittier,
-- null_ls.builtins.formatting.trim_whitespace, null_ls.builtins.formatting.trim_whitespace,
-- null_ls.builtins.formatting.trim_newlines, null_ls.builtins.formatting.trim_newlines,
-- Fish -- Fish
-- null_ls.builtins.formatting.fish_indent, null_ls.builtins.formatting.fish_indent,
-- Python -- Python
null_ls.builtins.formatting.reorder_python_imports, null_ls.builtins.formatting.reorder_python_imports,
null_ls.builtins.formatting.black, null_ls.builtins.formatting.black,
@ -231,7 +231,7 @@ function M.config_null_ls()
null_ls.builtins.code_actions.proselint, null_ls.builtins.code_actions.proselint,
alex_lint, alex_lint,
-- Ansible -- Ansible
-- null_ls.builtins.diagnostics.ansiblelint, null_ls.builtins.diagnostics.ansiblelint,
-- Shell -- Shell
null_ls.builtins.diagnostics.shellcheck, null_ls.builtins.diagnostics.shellcheck,
-- Rust -- Rust