From ae6ccdc96a659d96e6f0e02c0efc09968386c2d6 Mon Sep 17 00:00:00 2001 From: ViViDboarder Date: Mon, 10 Jan 2022 14:41:08 -0800 Subject: [PATCH] Move as much as possible from ALE to null-ls --- neovim/lua/plugins/ale.lua | 3 +++ neovim/lua/plugins/lsp.lua | 10 +++++----- 2 files changed, 8 insertions(+), 5 deletions(-) diff --git a/neovim/lua/plugins/ale.lua b/neovim/lua/plugins/ale.lua index 9463658..40a5a88 100644 --- a/neovim/lua/plugins/ale.lua +++ b/neovim/lua/plugins/ale.lua @@ -10,6 +10,9 @@ vim.g.ale_linters = { -- sh = {'language_server', 'shell', 'shellcheck'}, sh = {}, text = {}, + markdown = {}, + fish = {}, + ansible = {}, } vim.g.ale_linter_aliases = { markdown = { "text" }, diff --git a/neovim/lua/plugins/lsp.lua b/neovim/lua/plugins/lsp.lua index b453903..efdbd2c 100644 --- a/neovim/lua/plugins/lsp.lua +++ b/neovim/lua/plugins/lsp.lua @@ -214,11 +214,11 @@ function M.config_null_ls() local sources = { -- Generic - -- null_ls.builtins.formatting.preittier, - -- null_ls.builtins.formatting.trim_whitespace, - -- null_ls.builtins.formatting.trim_newlines, + null_ls.builtins.formatting.preittier, + null_ls.builtins.formatting.trim_whitespace, + null_ls.builtins.formatting.trim_newlines, -- Fish - -- null_ls.builtins.formatting.fish_indent, + null_ls.builtins.formatting.fish_indent, -- Python null_ls.builtins.formatting.reorder_python_imports, null_ls.builtins.formatting.black, @@ -231,7 +231,7 @@ function M.config_null_ls() null_ls.builtins.code_actions.proselint, alex_lint, -- Ansible - -- null_ls.builtins.diagnostics.ansiblelint, + null_ls.builtins.diagnostics.ansiblelint, -- Shell null_ls.builtins.diagnostics.shellcheck, -- Rust