From 3b50e0ee67b09366cfbedf65c9d1c1df48a802ff Mon Sep 17 00:00:00 2001 From: Sonny Bakker Date: Wed, 26 Mar 2025 10:16:52 +0100 Subject: [PATCH] Disable formatting for template strings --- templates/nvim/lua/lsp.lua.j2 | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/templates/nvim/lua/lsp.lua.j2 b/templates/nvim/lua/lsp.lua.j2 index 78fd62f..b324de2 100644 --- a/templates/nvim/lua/lsp.lua.j2 +++ b/templates/nvim/lua/lsp.lua.j2 @@ -83,6 +83,13 @@ nvim_lsp.html.setup { on_attach = on_attach, capabilities = snippet_capabilities, filetypes = { 'html', 'htmldjango' }, + settings = { + html = { + format = { + templating = true + } + } + } } nvim_lsp.cssls.setup {