lspconfig: html formatting
This commit is contained in:
parent
4d77ee5c29
commit
cb88a78114
|
|
@ -136,12 +136,16 @@ lspconfig.clangd.setup {
|
||||||
-- init_option = { fallbackFlags = { "-std=c++2a" } }
|
-- init_option = { fallbackFlags = { "-std=c++2a" } }
|
||||||
}
|
}
|
||||||
|
|
||||||
|
lspconfig.html.setup {
|
||||||
|
on_attach = M.on_attach,
|
||||||
|
capabilities = M.capabilities,
|
||||||
|
init_option = { provideFormatter = true }
|
||||||
|
}
|
||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
"marksman",
|
"marksman",
|
||||||
"taplo",
|
"taplo",
|
||||||
-- "pylsp",
|
|
||||||
"pyright",
|
"pyright",
|
||||||
"html",
|
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
|
|
|
||||||
Reference in New Issue