From ba46c42c2eac0a0a4591a072957f38007c368a59 Mon Sep 17 00:00:00 2001 From: Taken Date: Mon, 19 Jun 2023 21:41:07 +0200 Subject: [PATCH] Cleaned the autocmd config --- lua/taken/autocmd.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/taken/autocmd.lua b/lua/taken/autocmd.lua index dc7ee2e..bd9a59e 100644 --- a/lua/taken/autocmd.lua +++ b/lua/taken/autocmd.lua @@ -1,5 +1,7 @@ --- Neogit nvim tree refresh +-- Groups local neogitCmds = vim.api.nvim_create_augroup('MyCustomNeogitEvents', { clear = true }) + +-- Neogit nvim tree refresh vim.api.nvim_create_autocmd('User', { pattern = 'NeogitPushComplete', group = neogitCmds,