vim: ensure some LSPs are installed (clangd, cmake, lua_ls, pyright)
This commit is contained in:
parent
15f944eb4c
commit
3921c1e52b
1 changed files with 6 additions and 0 deletions
|
@ -91,6 +91,12 @@ M.config = function( --[[plugin]] _, --[[opts]] _)
|
|||
require('lspconfig.ui.windows').default_options = border
|
||||
require('mason').setup { ui = border }
|
||||
require('mason-lspconfig').setup {
|
||||
ensure_installed = {
|
||||
'clangd',
|
||||
'cmake',
|
||||
'lua_ls',
|
||||
'pyright',
|
||||
},
|
||||
handlers = {
|
||||
function(server_name)
|
||||
local opts = server_opts[server_name](defaults)
|
||||
|
|
Loading…
Add table
Reference in a new issue