Hi,

On Wed, Dec 8, 2021 at 8:48 PM lacygoill <[email protected]> wrote:

> If the quickfix buffer has been wiped out and no longer exists,
> getqflist() still gives its number:
>
> vim9scriptsilent helpgrep grailcopensilent :% bwipeout!echomsg 
> getqflist({qfbufnr: 0}).qfbufnr
>
> 3
>
> Is it working as intended? It seems to contradict :help getqflist()
> <https://vimhelp.org/eval.txt.html#getqflist%28%29> which says:
>
> Returns 0 if the quickfix buffer is not present.
>
> Since the quickfix buffer is no longer present, shouldn't getqflist()
> give 0?
>
>
>
This is a bug. I have opened PR #9306 to address this.

Regards,
Yegappan

-- 
-- 
You received this message from the "vim_dev" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php

--- 
You received this message because you are subscribed to the Google Groups 
"vim_dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_dev/CAAW7x7%3DSBasPceRLuS-PFpUKLuydhOzc_W4AqUxmQco0zoNPsA%40mail.gmail.com.

Raspunde prin e-mail lui