Files
dotfiles/nvim/after/lsp/html.lua

20 lines
568 B
Lua

return {
cmd = function(dispatchers, _)
return vim.lsp.rpc.start({'vscode-html-language-server', '--stdio' }, dispatchers)
end,
filetypes = { 'html' },
init_options = {
provideFormatter = true,
configurationSection = { 'html', 'css', 'javascript' },
embeddedLanguages = {
css = true,
javascript = true
}
},
root_markers = { 'package.json', '.git' },
-- root_dir = function(fname)
-- return root_pattern(fname) or vim.loop.os_homedir()
-- end,
settings = {},
}