File tree Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Expand file tree Collapse file tree 1 file changed +6
-1
lines changed Original file line number Diff line number Diff line change @@ -483,7 +483,7 @@ require('lazy').setup({
483
483
-- Mason must be loaded before its dependents so we need to set it up here.
484
484
-- NOTE: `opts = {}` is the same as calling `require('mason').setup({})`
485
485
{ ' mason-org/mason.nvim' , opts = {} },
486
- { ' mason-org/mason-lspconfig.nvim' , opts = {} } ,
486
+ ' mason-org/mason-lspconfig.nvim' ,
487
487
' WhoIsSethDaniel/mason-tool-installer.nvim' ,
488
488
489
489
-- Useful status updates for LSP.
@@ -693,6 +693,11 @@ require('lazy').setup({
693
693
},
694
694
},
695
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
+ }
696
701
697
702
-- Ensure the servers and tools above are installed
698
703
--
You can’t perform that action at this time.
0 commit comments