feat: doc updates and cleanups

This commit is contained in:
Barrett Ruth 2026-02-02 16:39:37 -05:00
parent 9b700ce869
commit e2a62a6aa5
2 changed files with 22 additions and 0 deletions

View file

@ -352,6 +352,15 @@ function M.setup(opts)
end
end,
})
vim.api.nvim_create_autocmd('WinClosed', {
callback = function(args)
local win = tonumber(args.match)
if win and diff_windows[win] then
diff_windows[win] = nil
end
end,
})
end
return M