Add html language server configuration
This commit is contained in:
parent
e15156ecd7
commit
0837edb1fe
1 changed files with 6 additions and 0 deletions
|
|
@ -39,6 +39,12 @@ nvim_lsp.pyright.setup({
|
||||||
end
|
end
|
||||||
})
|
})
|
||||||
|
|
||||||
|
nvim_lsp.html.setup({
|
||||||
|
on_attach = on_attach,
|
||||||
|
capabilities = capabilities,
|
||||||
|
filetypes = { 'html', 'htmldjango' },
|
||||||
|
})
|
||||||
|
|
||||||
for _, lsp in ipairs(servers) do
|
for _, lsp in ipairs(servers) do
|
||||||
nvim_lsp[lsp].setup {
|
nvim_lsp[lsp].setup {
|
||||||
on_attach = on_attach,
|
on_attach = on_attach,
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue