Friday, September 27, 2019

Detecting changes to the quickfix list

Hello everyone,

I'm writing a script that needs to trigger an action when the quickfix list changes.
After reading the docs, I tried using something like this:

autocmd QuickFixCmdPost * call MyFunction()

This works for most quickfix manipulation commands, like `cexpr`, but fails for `setqflist`. Indeed, the docs don't mention `setqflist` as one of the functions that trigger this event.

Is there any way I can detect every change to the quickfix, no matter which function was used to do it?

--
--
You received this message from the "vim_use" 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_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
To view this discussion on the web visit https://groups.google.com/d/msgid/vim_use/b94b58fe-3e9a-416f-b731-4ae70c2becb4%40googlegroups.com.

No comments: