You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If you <C-]> / <Plug>(fzf_tags) on a tag with multiple options, then <C-c> without selecting an option in FZF, vim will barf with the following error message:
Error detected while processing function fzf_tags#FindCommand[1]..fzf_tags#Find[12]..fzf#run[69]..<SNR>24_callback:
line 21:
Vim(let):E684: list index out of range: 0
Error detected while processing function fzf_tags#FindCommand[1]..fzf_tags#Find:
line 12:
E171: Missing :endif
I instead expect FZF / fzf-tags to exit without an error and without jumping me anywhere.
I'm pretty bad at vimscript, but adding the following to the top of s:sink seems to fix the problem:
iflen(a:selection) ==0returnend
The text was updated successfully, but these errors were encountered:
If you
<C-]>
/<Plug>(fzf_tags)
on a tag with multiple options, then<C-c>
without selecting an option in FZF, vim will barf with the following error message:I instead expect FZF / fzf-tags to exit without an error and without jumping me anywhere.
I'm pretty bad at vimscript, but adding the following to the top of
s:sink
seems to fix the problem:The text was updated successfully, but these errors were encountered: