Fixed powershell formatting on linux/windows, env vars have to be set in term tho
This commit is contained in:
@@ -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,
|
||||
},
|
||||
}
|
||||
Reference in New Issue
Block a user