fix(picker.actions): checktime after git_checkout

This commit is contained in:
Folke Lemaitre 2025-01-23 19:51:09 +01:00
parent 97cd4a5125
commit b86d90e3e9
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040

View file

@ -169,6 +169,7 @@ function M.git_checkout(picker, item)
end
Snacks.picker.util.cmd(cmd, function()
Snacks.notify("Checkout " .. what, { title = "Snacks Picker" })
vim.cmd.checktime()
end, { cwd = item.cwd })
end
end