Closed lervag closed 4 years ago
I have finally looked into this. In #1569, I added the option g:vimtex_quickfix_ignore_filters
, which seems to allow exactly what was suggested here. Thus, I hereby propose to simply remove the option g:vimtex_quickfix_latexlog
in favor of the ignore_filters
variant. This would be a breaking change, so I would add a warning to those who use this option.
Opinions or comments? @kiryph @clason @timokau
This has been implemented, and there should be a warning now for anyone who uses the old option.
Sorry, the previous comment got lost in my inbox. Thanks for implementing this!
As suggested by @kiryph in #1407, it seems appropriate to simplify the configuration of error/warning filtering for
g:vimtex_quickfix_latexlog
. Exactly how should be further discussed, but one approach could be as follows:Remove most of the option keys in
g:vimtex_quickfix_latexlog
, let theerrorformat
string do its magic and parse the entire log file. Then apply custom filters during post processing similar to the recently addedignore_filters
option key. Something like this:Since there is only a single option, one might want to simplify further to something like
g:vimtex_quickfix_latexlog_ignore_filters = []
.However, I'm very open to other suggestions!