problem: since a large portion of on_update is inside of a vim.schedule closure - if all input buffer text is removed quickly, fzf entries can have their pos field removed before the vim.schedule callback executes, causing an error. solution: add a check to ensure that fzf_entry.pos is not nil before iterating and setting extmarks
problem: since a large portion of
on_update
is inside of avim.schedule
closure - if all input buffer text is removed quickly, fzf entries can have theirpos
field removed before thevim.schedule
callback executes, causing an error. solution: add a check to ensure thatfzf_entry.pos
is not nil before iterating and setting extmarksfixes #97