diff options
| author | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 16:50:35 +0200 |
|---|---|---|
| committer | Thomas Vanbesien <tvanbesi@proton.me> | 2026-06-02 16:50:35 +0200 |
| commit | e9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1 (patch) | |
| tree | 544edd7183a4c6d53e8b152d709e58cf6130b97b | |
| parent | 257050988111d45647454979ceab0d93592e0cca (diff) | |
| download | dotfiles-e9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1.tar.gz dotfiles-e9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1.zip | |
docs(nvim): comment
| -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, |
