nvim: center buffer after formatting

This commit is contained in:
dogeystamp 2024-03-28 20:12:28 -04:00
parent fb441bc3df
commit e02802369d
Signed by: dogeystamp
GPG Key ID: 7225FE3592EFFA38

View File

@ -22,6 +22,7 @@ vim.api.nvim_create_autocmd(
callback = function()
vim.cmd("silent !black --quiet %")
vim.cmd("edit")
vim.cmd("norm zz")
end,
}
)