diff --git a/lua/telescope/actions/init.lua b/lua/telescope/actions/init.lua index 3384b54465..3a6ccc7cbf 100644 --- a/lua/telescope/actions/init.lua +++ b/lua/telescope/actions/init.lua @@ -592,6 +592,7 @@ actions.git_checkout = function(prompt_bufnr) msg = string.format("Checked out: %s", selection.value), level = "INFO", }) + vim.cmd "checktime" else utils.notify("actions.git_checkout", { msg = string.format( @@ -781,6 +782,7 @@ actions.git_checkout_current_buffer = function(prompt_bufnr) end actions.close(prompt_bufnr) utils.get_os_command_output({ "git", "checkout", selection.value, "--", selection.file }, cwd) + vim.cmd "checktime" end --- Stage/unstage selected file