Dotfiles_nvim/lua/toolchain/config/language_server.lua

17 lines
411 B
Lua
Raw Normal View History

2024-07-02 21:52:43 +00:00
---@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,
}