From db9168e2d12e6bf55b37ca054931255eaf4d988c Mon Sep 17 00:00:00 2001 From: Baipyrus Date: Tue, 26 Nov 2024 09:53:13 +0100 Subject: [PATCH] try not to format html code for convenience --- lua/kickstart/plugins/conform.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/lua/kickstart/plugins/conform.lua b/lua/kickstart/plugins/conform.lua index 476b80b..43a42b0 100644 --- a/lua/kickstart/plugins/conform.lua +++ b/lua/kickstart/plugins/conform.lua @@ -19,7 +19,7 @@ return { -- Disable "format_on_save lsp_fallback" for languages that don't -- have a well standardized coding style. You can add additional -- languages here or re-enable it for the disabled ones. - local disable_filetypes = { c = true, cpp = true, php = true } + local disable_filetypes = { c = true, cpp = true, php = true, html = true } local lsp_format_opt if disable_filetypes[vim.bo[bufnr].filetype] then lsp_format_opt = 'never'