If a QuickfixCmdPost clears the qflist after a :make, a E42 "No
Errors" diagnosic is issued. This is because vim (7.3.102) doesn't
recheck the size of the list after the autocommands run. A possible
patch is attached. It affects the non-autocommand case slightly, and
might be overly conservative (I don't understand the list lifetime;
the listcount check may be unnecessary). Thanks!
== To Reproduce ==
vim -u NONE
let qflist = filter(getqflist(), 'v:val.valid')
:au QuickfixCmdPost make call QfRemoveInvalid()
:set makeprg=echo\ good
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