dotfiles/.config/nvim/lua/plugins/none-ls.lua.bak
Sergio Laín 438af606a1
🐛 fix(nvim): changed a lot of stuff to adapt to the new 10.0 lazyvim update
the new lazyvim update was huge, especially because none-ls was moved to extras, so conform and lint
would be the default formatter-linting
2023-10-13 14:06:10 +02:00

28 lines
1 KiB
Lua

return {
{
"nvimtools/none-ls.nvim",
opts = function(_, opts)
local nls = require("null-ls")
opts.sources = opts.sources or {}
vim.list_extend(opts.sources, {
nls.builtins.formatting.beautysh,
nls.builtins.formatting.black,
nls.builtins.formatting.csharpier,
nls.builtins.formatting.rustywind,
nls.builtins.formatting.sqlfmt,
nls.builtins.formatting.rustfmt,
nls.builtins.formatting.fish_indent,
nls.builtins.formatting.taplo,
nls.builtins.diagnostics.fish,
--nls.builtins.diagnostics.cspell,
--nls.builtins.code_actions.cspell,
nls.builtins.hover.dictionary,
nls.builtins.hover.printenv,
--nls.builtins.diagnostics.markuplint,
nls.builtins.diagnostics.markdownlint,
--nls.builtins.diagnostics.codespell,
})
end,
},
}