Detecting changes to the quickfix list

12 views
Skip to first unread message

Sylvia

unread,
Sep 27, 2019, 11:31:22 AM9/27/19
to vim_use
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?
Reply all
Reply to author
Forward
0 new messages