18 lines
449 B
Lua
18 lines
449 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
|
||
|
},
|
||
|
}
|