From e9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1 Mon Sep 17 00:00:00 2001 From: Thomas Vanbesien Date: Tue, 2 Jun 2026 16:50:35 +0200 Subject: docs(nvim): comment --- .config/nvim/plugin/50-git.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/.config/nvim/plugin/50-git.lua b/.config/nvim/plugin/50-git.lua index 4fcdecf..a46a2ed 100644 --- a/.config/nvim/plugin/50-git.lua +++ b/.config/nvim/plugin/50-git.lua @@ -41,6 +41,7 @@ local git_blame_toggle = (function() vim.api.nvim_del_autocmd(auid) end vim.api.nvim_set_current_win(win) + -- Transient, self-cleaning (once): not part of the global dotfiles augroup. vim.api.nvim_create_autocmd("BufLeave", { once = true, callback = close, @@ -66,6 +67,7 @@ local git_blame_toggle = (function() title = "git blame", noautocmd = true, }) + -- Transient, manually managed via auid/del_autocmd: not part of the global dotfiles augroup. auid = vim.api.nvim_create_autocmd({ "CursorMoved", "CursorMovedI", "BufLeave" }, { once = true, callback = close, -- cgit v1.3.1