Dotfiles_nvim/lua/toolchain/web/language_server.lua

21 lines
537 B
Lua
Raw Normal View History

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