File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change @@ -43,9 +43,11 @@ M.refresh = function(opts)
4343 -- never cleared. The below condition validates the source window when the
4444 -- UI is not open (#907)
4545 or (not winobj and ctx .bufnr ~= vim .api .nvim_get_current_buf ())
46- -- we should never get here when fzf process is hidden unless the user requested
47- -- not to resume or a different picker, i.e. hide files and open buffers
48- or winobj and (winobj :hidden () or winobj :was_hidden ())
46+ -- we don't get here when hidden fzf process is resumed, only when the user
47+ -- starts a different picker, i.e. hide files and open buffers, in this case
48+ -- we update ctx regardless of hidden buf validity as the underlying fzf
49+ -- job/bufnr may have also been terminated (#2715)
50+ or winobj and winobj ._hidden_fzf_bufnr
4951 then
5052 ctx = {
5153 mode = vim .api .nvim_get_mode ().mode ,
You can’t perform that action at this time.
0 commit comments