|
|
|
@ -121,7 +121,6 @@ local servers = {
|
|
|
|
|
"pyright",
|
|
|
|
|
"rust_analyzer",
|
|
|
|
|
"gopls",
|
|
|
|
|
"phpactor",
|
|
|
|
|
"tailwindcss",
|
|
|
|
|
"jsonls",
|
|
|
|
|
"lua_ls",
|
|
|
|
@ -166,6 +165,7 @@ function _G.toggle_format_on_save()
|
|
|
|
|
end
|
|
|
|
|
|
|
|
|
|
require("null-ls").setup({
|
|
|
|
|
timeout_ms = 5000,
|
|
|
|
|
sources = {
|
|
|
|
|
-- General
|
|
|
|
|
null_ls.builtins.code_actions.refactoring,
|
|
|
|
@ -193,8 +193,9 @@ require("null-ls").setup({
|
|
|
|
|
-- Web
|
|
|
|
|
null_ls.builtins.formatting.prettier,
|
|
|
|
|
-- null_ls.builtins.code_actions.eslint_d,
|
|
|
|
|
null_ls.builtins.code_actions.eslint,
|
|
|
|
|
null_ls.builtins.diagnostics.eslint,
|
|
|
|
|
null_ls.builtins.formatting.eslint,
|
|
|
|
|
-- null_ls.builtins.formatting.eslint,
|
|
|
|
|
null_ls.builtins.diagnostics.stylelint,
|
|
|
|
|
null_ls.builtins.formatting.stylelint,
|
|
|
|
|
null_ls.builtins.formatting.rustywind,
|
|
|
|
|