From 1f3689d6164a7fcd39b38bff3cd178f4d060eab1 Mon Sep 17 00:00:00 2001 From: Price Hiller Date: Thu, 21 Mar 2024 16:34:33 -0500 Subject: [PATCH] refactor(nvim): improve hack around neogit statuscol --- dots/.config/nvim/lua/plugins/configs/statuscol.lua | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/dots/.config/nvim/lua/plugins/configs/statuscol.lua b/dots/.config/nvim/lua/plugins/configs/statuscol.lua index 8c1afaa4..9bfc17c1 100644 --- a/dots/.config/nvim/lua/plugins/configs/statuscol.lua +++ b/dots/.config/nvim/lua/plugins/configs/statuscol.lua @@ -7,12 +7,11 @@ return { vim.api.nvim_create_autocmd({ "BufEnter" }, { desc = "Ensure Neogit Status doesn't fuck the gutter up -- 🤮", - pattern = "*NeogitStatus*", + pattern = "*Neogit*", callback = function() local win = vim.api.nvim_get_current_win() local set_opts = function() vim.wo[win].statuscolumn = [[%!v:lua.StatusCol()]] - vim.wo[win].signcolumn = "yes" vim.wo[win].foldcolumn = "1" end set_opts()