feat(extra-lang): add formatting for angular templates

This commit is contained in:
Mykhailo Sabatura 2024-08-22 12:57:09 +02:00
parent 12818a6cb4
commit abef6d31ed

View file

@ -57,4 +57,15 @@ return {
})
end,
},
-- formatting
{
"conform.nvim",
opts = function(_, opts)
if LazyVim.has_extra("formatting.prettier") then
opts.formatters_by_ft = opts.formatters_by_ft or {}
opts.formatters_by_ft.htmlangular = { "prettier" }
end
end,
},
}