lspconfig: html formatting

This commit is contained in:
krolyxon 2023-04-03 22:17:39 +05:30
parent 4d77ee5c29
commit cb88a78114
1 changed files with 6 additions and 2 deletions

View File

@ -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