mirror of
https://github.com/ViViDboarder/vim-settings.git
synced 2024-12-22 23:37:33 +00:00
Move as much as possible from ALE to null-ls
This commit is contained in:
parent
6475f422ac
commit
ae6ccdc96a
@ -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" },
|
||||||
|
@ -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
|
||||||
|
Loading…
Reference in New Issue
Block a user