html lsp
This commit is contained in:
parent
61292478ba
commit
31bff1d28f
|
@ -88,6 +88,22 @@ require('mason-lspconfig').setup_handlers {
|
|||
}
|
||||
}
|
||||
end,
|
||||
['html'] = function()
|
||||
require('lspconfig')['html'].setup {
|
||||
on_attach = on_attach,
|
||||
flags = lsp_flags,
|
||||
cmd = { "html-languageserver", "--stdio" },
|
||||
filetypes = { "html" },
|
||||
init_options = {
|
||||
configurationSection = { "html", "css", "javascript" },
|
||||
embeddedLanguages = {
|
||||
css = true,
|
||||
javascript = true
|
||||
}
|
||||
},
|
||||
settings = {}
|
||||
}
|
||||
end,
|
||||
['yamlls'] = function()
|
||||
require('lspconfig')["yamlls"].setup {
|
||||
on_attach = on_attach,
|
||||
|
|
Loading…
Reference in New Issue