We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent d598d56 commit 037ba12Copy full SHA for 037ba12
1 file changed
lua/fzf-lua/providers/nvim.lua
@@ -122,7 +122,9 @@ local history = function(opts, str)
122
if dr > 0 and index <= to or dr < 0 and index >= to then
123
cb(vim.fn.histget(str, index), function()
124
count = count - 1
125
- if count == 0 then coroutine.resume(co) end
+ if count == 0 or index == to then
126
+ coroutine.resume(co)
127
+ end
128
end)
129
end
130
0 commit comments