move to backup

This commit is contained in:
Dennis 2026-03-03 10:46:08 +01:00
parent 294dc66380
commit a0e3d792a9
182 changed files with 156 additions and 103 deletions

View file

@ -0,0 +1,28 @@
return {
"stevearc/conform.nvim",
opts = {
formatters_by_ft = {
typescriptreact = { "biome-check", "prettierd", stop_after_first = true },
astro = { "prettierd" },
typescript = { "biome-check", "prettierd", stop_after_first = true },
javascript = { "biome-check", "prettierd", stop_after_first = true },
javascriptreact = { "biome-check", "prettierd", stop_after_first = true },
html = { "prettierd" },
htmlangular = { "prettierd" },
css = { "biome-check", "prettierd", stop_after_first = true },
yaml = { "prettierd" },
markdown = { "prettierd" },
json = { "biome-check", "prettierd", stop_after_first = true },
lua = { "stylua" },
go = { "goimports" },
gomod = { "goimports" },
gowork = { "goimports" },
gotmpl = { "goimports" },
},
format_on_save = {
-- These options will be passed to conform.format()
timeout_ms = 500,
lsp_format = "fallback",
},
},
}