Hi,

On Wed, Mar 23, 2022 at 3:51 AM dundargoc <[email protected]> wrote:

> @yegappan <https://github.com/yegappan> I've stared at the quickfix code
> for 10 minutes and I don't get it. qi doesn't seem to be used in the
> function (except for comparisons), how can it change? Mind giving me a
> quick hint?
>
>
>
The quickfix list can be changed from an autocmd. For example, the
following commands
will make the condition in that if statement false:

:cexpr ""
:autocmd BufEnter *.c colder
:vimgrep buf_T *.c

For other conditions in that if statement, you can replace 'colder' with
'call setqflist([], 'f')'
and 'call setqflist([], 'r').

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/CAAW7x7mc5_BLsDLfUnJPkJ02iAFRJBNNsGMbeS%3Dv0m5fZ78eDQ%40mail.gmail.com.

Raspunde prin e-mail lui