21 lines
537 B
Lua
21 lines
537 B
Lua
|
---@type ToolchainLanguageServers
|
||
|
return {
|
||
|
requirements = {
|
||
|
'html',
|
||
|
'emmet_ls',
|
||
|
'cssls',
|
||
|
'tailwindcss',
|
||
|
'eslint',
|
||
|
'tsserver',
|
||
|
},
|
||
|
setup = function(lspconfig, capabilities)
|
||
|
local config = { capabilities = capabilities }
|
||
|
lspconfig.html.setup(config)
|
||
|
lspconfig.emmet_ls.setup(config)
|
||
|
lspconfig.cssls.setup(config)
|
||
|
lspconfig.tailwindcss.setup(config)
|
||
|
lspconfig.tsserver.setup(config)
|
||
|
lspconfig.eslint.setup(config)
|
||
|
end,
|
||
|
}
|