-
Notifications
You must be signed in to change notification settings - Fork 22
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Delete quickfix/loclist to empty will cause ferret#private#qf_delete error #83
Comments
Thanks for the report @crispgm. I think this is fixed by cdccc5f — I say "think" because I added an ferret/autoload/ferret/private.vim Line 23 in cdccc5f
And having typed out that sentence, I realize that you could cause it to throw an error by deleting (eg. |
As noted here: #83 (comment) if the listing is entirely empty and you try to delete something (eg. with `dd`), we would cause Vim to complain thusly: E684: list index out of range: 0
Ok; this should do it. |
Reproduction steps:
e.g.,
call setqflist([{'text':'aaa','type':'w'}], 'a')
and thencopen 1
dd
The text was updated successfully, but these errors were encountered: