vim: ensure some LSPs are installed (clangd, cmake, lua_ls, pyright)

This commit is contained in:
Fernando Schauenburg 2024-02-19 02:20:19 +01:00
parent 15f944eb4c
commit 3921c1e52b

View file

@ -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)