From 0837edb1fe27a176f9b455ec54727f28ddd55192 Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Wed, 7 Sep 2022 21:46:54 +0200 Subject: [PATCH] Add html language server configuration --- nvim/lua/lsp.lua | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/nvim/lua/lsp.lua b/nvim/lua/lsp.lua index 7f18ffb..16e6694 100644 --- a/nvim/lua/lsp.lua +++ b/nvim/lua/lsp.lua @@ -39,6 +39,12 @@ nvim_lsp.pyright.setup({ end }) +nvim_lsp.html.setup({ + on_attach = on_attach, + capabilities = capabilities, + filetypes = { 'html', 'htmldjango' }, +}) + for _, lsp in ipairs(servers) do nvim_lsp[lsp].setup { on_attach = on_attach,