refactor: remove unused plugins
This commit is contained in:
parent
76534ab4cb
commit
96db7b0430
22 changed files with 53 additions and 1150 deletions
|
|
@ -111,46 +111,3 @@ require("lspconfig")["hls"].setup({
|
|||
--on_attach = on_attach,
|
||||
})
|
||||
|
||||
--local status_ok2, lsp_installer = pcall(require, "mason")
|
||||
--if not status_ok2 then
|
||||
-- return
|
||||
--end
|
||||
--
|
||||
--local servers = {"jdtls" , "sumneko_lua" , "texlab", "pyright" , "eslint_d" , "html" , "cssls" , "rust_analyzer" , "bashls" , "csharp_ls" , "sqls" , "clangd" }
|
||||
--
|
||||
--lsp_installer.setup {
|
||||
-- ensure_installed = servers
|
||||
--}
|
||||
--
|
||||
--for _, server in pairs(servers) do
|
||||
-- local opts = {
|
||||
-- on_attach = require("settings.lsp_config.handlers").on_attach,
|
||||
-- capabilities = require("settings.lsp_config.handlers").capabilities,
|
||||
-- }
|
||||
-- local has_custom_opts, server_custom_opts = pcall(require, "settings.lsp_config." .. server)
|
||||
-- if has_custom_opts then
|
||||
-- opts = vim.tbl_deep_extend("force", server_custom_opts, opts)
|
||||
-- end
|
||||
-- lspconfig[server].setup(opts)
|
||||
--end
|
||||
--
|
||||
--
|
||||
--local null_ls_status_ok, null_ls = pcall(require, "null-ls")
|
||||
--if not null_ls_status_ok then
|
||||
-- return
|
||||
--end
|
||||
--
|
||||
---- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/formatting
|
||||
--local formatting = null_ls.builtins.formatting
|
||||
---- https://github.com/jose-elias-alvarez/null-ls.nvim/tree/main/lua/null-ls/builtins/diagnostics
|
||||
--local diagnostics = null_ls.builtins.diagnostics
|
||||
--
|
||||
--null_ls.setup({
|
||||
-- debug = false,
|
||||
-- sources = {
|
||||
-- formatting.prettier.with({ extra_args = { "--no-semi", "--single-quote", "--jsx-single-quote" } }),
|
||||
-- formatting.black.with({ extra_args = { "--fast" } }),
|
||||
-- formatting.stylua,
|
||||
-- -- diagnostics.flake8
|
||||
-- },
|
||||
--})
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue