Fixed powershell formatting on linux/windows, env vars have to be set in term tho

This commit is contained in:
2026-08-30 17:06:14 +02:00
parent acf072e634
commit 5b0b6f32c5
10 changed files with 125 additions and 114 deletions
+18
View File
@@ -0,0 +1,18 @@
require("conform").setup {
formatters_by_ft = {
lua = { "stylua" },
python = { "ruff" },
rust = { "rustfmt" },
javascript = { "prettier" },
typescript = { "prettier" },
qml = { "qmlformat" },
go = { "gofmt" },
sh = { "shfmt" },
bash = { "shfmt" },
zsh = { "shfmt" },
ps1 = {},
},
format_on_save = {
lsp_fallback = true,
},
}