We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 718c90d commit 82949b8Copy full SHA for 82949b8
1 file changed
init.lua
@@ -483,7 +483,7 @@ require('lazy').setup({
483
-- Mason must be loaded before its dependents so we need to set it up here.
484
-- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
485
{ 'mason-org/mason.nvim', opts = {} },
486
- { 'mason-org/mason-lspconfig.nvim', opts = {} },
+ 'mason-org/mason-lspconfig.nvim',
487
'WhoIsSethDaniel/mason-tool-installer.nvim',
488
489
-- Useful status updates for LSP.
@@ -693,6 +693,11 @@ require('lazy').setup({
693
},
694
695
}
696
+ ---@type MasonLspconfigSettings
697
+ ---@diagnostic disable-next-line: missing-fields
698
+ require('mason-lspconfig').setup {
699
+ automatic_enable = vim.tbl_keys(servers or {}),
700
+ }
701
702
-- Ensure the servers and tools above are installed
703
--
0 commit comments