dotfiles/.config/nvim/lua/lsp/servers/html.lua

18 lines
409 B
Lua

return {
cmd = {vim.g.lsp_path .. "vscode-html-language-server", "--stdio"},
filetypes = {"html"},
on_attach = vim.g.lsp_on_attach,
handlers = vim.g.lsp_handler,
capabilities = vim.g.lsp_capabilities,
init_options = {
configurationSection = { "html", "css", "javascript" },
embeddedLanguages = {
css = true,
javascript = true
},
provideFormatter = true
},
}