vim_config/conf/nvim/lua/plugins/mason.lua
Yorick Barbanneau 0556e2f742 Add mason-lspconfig plugin
start lsp server automatically
2022-08-05 23:41:14 +02:00

13 lines
509 B
Lua

local mason = require("mason").setup()
local mason_lspconfig = require("mason-lspconfig").setup()
require("mason-lspconfig").setup_handlers({
-- The first entry (without a key) will be the default handler
-- and will be called for each installed server that doesn't have
-- a dedicated handler.
function (server_name) -- default handler (optional)
require("lspconfig")[server_name].setup {}
end,
-- Next, you can provide targeted overrides for specific servers.
--
})