diff options
Diffstat (limited to '.config')
| -rw-r--r-- | .config/nvim/plugin/50-git.lua | 2 |
1 files changed, 2 insertions, 0 deletions
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, |
