1
0
Fork 1
Dotfiles_nvim/lua/toolchain/web/language_server.lua
2024-07-02 23:52:43 +02:00

20 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,
}