summaryrefslogtreecommitdiffstats
path: root/.config
diff options
context:
space:
mode:
authorThomas Vanbesien <tvanbesi@proton.me>2026-06-02 16:50:35 +0200
committerThomas Vanbesien <tvanbesi@proton.me>2026-06-02 16:50:35 +0200
commite9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1 (patch)
tree544edd7183a4c6d53e8b152d709e58cf6130b97b /.config
parent257050988111d45647454979ceab0d93592e0cca (diff)
downloaddotfiles-e9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1.tar.gz
dotfiles-e9983e660f23cf8a6c558ae5f5dd5da69a1ce4e1.zip
docs(nvim): comment
Diffstat (limited to '.config')
-rw-r--r--.config/nvim/plugin/50-git.lua2
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,