fix: #1933: Remove redundant plugin and allow mason to autoconfigure installed servers
This commit is contained in:
parent
58170c7ae3
commit
55895c7c43
3
init.lua
3
init.lua
|
|
@ -496,7 +496,6 @@ require('lazy').setup({
|
|||
},
|
||||
-- Maps LSP server names between nvim-lspconfig and Mason package names.
|
||||
'mason-org/mason-lspconfig.nvim',
|
||||
'WhoIsSethDaniel/mason-tool-installer.nvim',
|
||||
|
||||
-- Useful status updates for LSP.
|
||||
{ 'j-hui/fidget.nvim', opts = {} },
|
||||
|
|
@ -655,7 +654,7 @@ require('lazy').setup({
|
|||
-- You can add other tools here that you want Mason to install
|
||||
})
|
||||
|
||||
require('mason-tool-installer').setup { ensure_installed = ensure_installed }
|
||||
require('mason-lspconfig').setup { ensure_installed = ensure_installed }
|
||||
|
||||
for name, server in pairs(servers) do
|
||||
vim.lsp.config(name, server)
|
||||
|
|
|
|||
Loading…
Reference in New Issue