From e02802369d6a4ef4624be860902337689f2a1ff4 Mon Sep 17 00:00:00 2001 From: dogeystamp Date: Thu, 28 Mar 2024 20:12:28 -0400 Subject: [PATCH] nvim: center buffer after formatting --- src/.config/nvim/lua/coding.lua | 1 + 1 file changed, 1 insertion(+) diff --git a/src/.config/nvim/lua/coding.lua b/src/.config/nvim/lua/coding.lua index b2e7439..98562e7 100644 --- a/src/.config/nvim/lua/coding.lua +++ b/src/.config/nvim/lua/coding.lua @@ -22,6 +22,7 @@ vim.api.nvim_create_autocmd( callback = function() vim.cmd("silent !black --quiet %") vim.cmd("edit") + vim.cmd("norm zz") end, } )