File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -461,6 +461,11 @@ require('which-key').register {
461
461
[' <leader>w' ] = { name = ' [W]orkspace' , _ = ' which_key_ignore' },
462
462
}
463
463
464
+ -- mason-lspconfig requires that these setup functions are called in this order
465
+ -- before setting up the servers.
466
+ require (' mason' ).setup ()
467
+ require (' mason-lspconfig' ).setup ()
468
+
464
469
-- Enable the following language servers
465
470
-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
466
471
--
@@ -493,11 +498,6 @@ require('neodev').setup()
493
498
local capabilities = vim .lsp .protocol .make_client_capabilities ()
494
499
capabilities = require (' cmp_nvim_lsp' ).default_capabilities (capabilities )
495
500
496
- -- mason-lspconfig requires that these setup functions are called in this order
497
- -- before setting up the servers.
498
- require (' mason' ).setup ()
499
- require (' mason-lspconfig' ).setup ()
500
-
501
501
-- Ensure the servers above are installed
502
502
local mason_lspconfig = require ' mason-lspconfig'
503
503
You can’t perform that action at this time.
0 commit comments