Skip to content

Commit ba4a409

Browse files
committed
fix(lspconfig): remove handler functionality
According the mason-lspconfig's new config, remove handler functionality, add automatic enable feature. mason-org/mason-lspconfig.nvim@80f2cd7
1 parent 0e0708d commit ba4a409

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

lua/plugins/configs/lspconfig.lua

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -103,5 +103,6 @@ require("mason").setup()
103103
require("mason-lspconfig").setup {
104104
ensure_installed = ensure_installed,
105105
automatic_installation = true,
106+
-- Whether installed servers should automatically be enabled via `:h vim.lsp.enable()`.
107+
automatic_enable = true,
106108
}
107-
require("mason-lspconfig").setup_handlers { setup }

0 commit comments

Comments
 (0)