From 21117f7f1e757ba03193acb2bf40c68f1e9ada9e Mon Sep 17 00:00:00 2001 From: OdysseusOperator Date: Fri, 28 Mar 2025 13:51:33 +0100 Subject: [PATCH] feat(init): add HTML support in formatter configuration This commit introduces support for formatting HTML by adding 'prettier' to the formatter configuration. This enhancement allows for consistent styling across different file types, improving the coding process. --- init.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/init.lua b/init.lua index 28b20050..44046bf2 100644 --- a/init.lua +++ b/init.lua @@ -789,6 +789,7 @@ require('lazy').setup({ -- Conform can also run multiple formatters sequentially python = { 'ruff_format', 'ruff_organize_imports' }, json = { 'prettier' }, + html = { 'prettier' }, -- You can use 'stop_after_first' to run the first available formatter from the list javascript = { 'prettierd', 'prettier', stop_after_first = true }, yaml = { 'prettierd', 'prettier', stop_after_first = true },