Fixed powershell formatting on linux/windows, env vars have to be set in term tho
This commit is contained in:
+3
-5
@@ -14,11 +14,9 @@ autocmd("VimLeave", {
|
||||
})
|
||||
|
||||
autocmd("BufWritePre", {
|
||||
callback = function()
|
||||
local ok = pcall(function()
|
||||
vim.cmd "undojoin"
|
||||
end)
|
||||
vim.cmd "Neoformat"
|
||||
pattern = "*",
|
||||
callback = function(args)
|
||||
require("conform").format({ bufnr = args.buf })
|
||||
end,
|
||||
})
|
||||
|
||||
|
||||
Reference in New Issue
Block a user