We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent b809639 commit 1eba927Copy full SHA for 1eba927
1 file changed
lua/fzf-lua/core.lua
@@ -384,7 +384,7 @@ M.fzf = function(contents, opts)
384
if not tonumber(args[1]) then return end
385
-- NOTE: do not use local ref `fzf_win` as it my change on resume (#2255)
386
local winobj = utils.fzf_winobj()
387
- if not winobj then return end
+ if not winobj or winobj.closing then return end
388
return string.format("change-preview-window(%s)", winobj:normalize_preview_layout().str)
389
end)
390
end
0 commit comments