fix(picker): make jumping work again...

This commit is contained in:
Folke Lemaitre 2025-01-31 00:06:48 +01:00
parent d216935e97
commit f40f338d66
No known key found for this signature in database
GPG key ID: 41F8B1FBACAE2040
3 changed files with 4 additions and 1 deletions

View file

@ -53,7 +53,7 @@ function State:follow()
return
end
local picker = self.picker()
if not picker or picker:is_focused() or picker.closed then
if not picker or picker:is_focused() or picker.closed or picker.jumping then
return
end
local buf = vim.api.nvim_get_current_buf()