nvim/lua/lsp/null_ls_sources.lua

24 lines
723 B
Lua

local null_ls = require "null-ls"
local cspell = require "cspell"
return {
cspell.code_actions,
null_ls.builtins.code_actions.gitsigns,
cspell.diagnostics,
null_ls.builtins.formatting.alejandra,
null_ls.builtins.formatting.autoflake,
null_ls.builtins.formatting.beautysh,
null_ls.builtins.formatting.black,
null_ls.builtins.formatting.fixjson,
-- null_ls.builtins.formatting.fprettify,
null_ls.builtins.formatting.isort,
null_ls.builtins.formatting.mdformat,
-- null_ls.builtins.formatting.nixfmt,
-- null_ls.builtins.formatting.nixpkgs_fmt,
null_ls.builtins.formatting.shellharden,
null_ls.builtins.formatting.stylua,
null_ls.builtins.hover.dictionary,
}