Dotfiles_nvim/lua/toolchain/config/language_server.lua
2024-07-02 23:52:43 +02:00

16 lines
411 B
Lua

---@type ToolchainLanguageServers
return {
requirements = {
'jsonls',
'lemminx',
'yamlls',
'taplo',
},
setup = function(lspconfig, capabilities)
local config = { capabilities = capabilities }
lspconfig.jsonls.setup(config)
lspconfig.lemminx.setup(config)
lspconfig.yamlls.setup(config)
lspconfig.taplo.setup(config)
end,
}