html & css lsp
This commit is contained in:
parent
1d7a269262
commit
da1d02b5bd
|
|
@ -139,13 +139,15 @@ lspconfig.clangd.setup {
|
||||||
lspconfig.html.setup {
|
lspconfig.html.setup {
|
||||||
on_attach = M.on_attach,
|
on_attach = M.on_attach,
|
||||||
capabilities = M.capabilities,
|
capabilities = M.capabilities,
|
||||||
init_option = { provideFormatter = true }
|
init_option = { provideFormatter = true },
|
||||||
|
filetypes = { "htmldjango", "html"},
|
||||||
}
|
}
|
||||||
|
|
||||||
local servers = {
|
local servers = {
|
||||||
"marksman",
|
"marksman",
|
||||||
"taplo",
|
"taplo",
|
||||||
"pyright",
|
"pyright",
|
||||||
|
"cssls",
|
||||||
}
|
}
|
||||||
|
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
|
|
|
||||||
|
|
@ -6,7 +6,6 @@ local options = {
|
||||||
"rust",
|
"rust",
|
||||||
"c",
|
"c",
|
||||||
"python",
|
"python",
|
||||||
"help",
|
|
||||||
},
|
},
|
||||||
|
|
||||||
highlight = {
|
highlight = {
|
||||||
|
|
|
||||||
Reference in New Issue