nvim: add prettier formating to conform for html and css

This commit is contained in:
stitchy 2024-12-10 13:32:56 +00:00
parent d9e21b23bd
commit c75f696013
Signed by: stitchy
SSH key fingerprint: SHA256:yz2SoxdnY67tfY5Jzb0f2v8f5W3o/IF359kbcquWip8
2 changed files with 5 additions and 2 deletions

View file

@ -106,7 +106,9 @@ cmp.setup {
-- Funky plugins
require("conform").setup({
formatters_by_ft = {
python = { "isort", "black" },
css = { "prettier", },
html = { "prettier", },
python = { "black" },
},
format_on_save = {
timeout_ms = 500,