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 @@ -458,6 +458,11 @@ require('which-key').register {
458458 [' <leader>w' ] = { name = ' [W]orkspace' , _ = ' which_key_ignore' },
459459}
460460
461+ -- mason-lspconfig requires that these setup functions are called in this order
462+ -- before setting up the servers.
463+ require (' mason' ).setup ()
464+ require (' mason-lspconfig' ).setup ()
465+
461466-- Enable the following language servers
462467-- Feel free to add/remove any LSPs that you want here. They will automatically be installed.
463468--
@@ -489,11 +494,6 @@ require('neodev').setup()
489494local capabilities = vim .lsp .protocol .make_client_capabilities ()
490495capabilities = require (' cmp_nvim_lsp' ).default_capabilities (capabilities )
491496
492- -- mason-lspconfig requires that these setup functions are called in this order
493- -- before setting up the servers.
494- require (' mason' ).setup ()
495- require (' mason-lspconfig' ).setup ()
496-
497497-- Ensure the servers above are installed
498498local mason_lspconfig = require ' mason-lspconfig'
499499
You can’t perform that action at this time.
0 commit comments