diff --git a/lua/fzf-lua/actions.lua b/lua/fzf-lua/actions.lua index 9f0ab321..0d8d12d0 100644 --- a/lua/fzf-lua/actions.lua +++ b/lua/fzf-lua/actions.lua @@ -678,6 +678,8 @@ M.git_reset = function(selected, opts) and path.git_cwd({ "git", "clean", "-f" }, opts) or path.git_cwd({ "git", "checkout", "HEAD", "--" }, opts) git_exec({ s }, opts, cmd) + -- trigger autoread or warn the users buffer(s) was changed + vim.cmd.checktime() end end