-
Notifications
You must be signed in to change notification settings - Fork 394
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Quickfix only gets populated using single shot compilation and at first compilation error of continuous mode #2847
Comments
Strange.
I can't reproduce this. For me, this works as expected. Can you provide a minimal config and minimal example as explained in the issue template? Repeated below for convenience. Or, at least as a minimum, your personal configuration? Steps to reproducePlease include minimal test files (
Example of minimal test filesminimal.vim set nocompatible
let &runtimepath = '~/.vim/bundle/vimtex,' . &runtimepath
let &runtimepath .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable
" Add relevant options and VimTeX configuration below. minimal.tex \documentclass{minimal}
\begin{document}
Hello world!
\end{document} |
I tested with the test files, it worked, then I texted with my configuration, but without the auto-command I set for Trouble, and it also worked.
It seems like this auto-command is causing the quickfix list to not be updated. |
Yes, it sounds like the problem here is related to Trouble. I've never used that and barely know what it is. Can you provide a listing of the minimal configuration you need to reproduce this? I.e., use my previously supplied set nocompatible
let &runtimepath = '~/.vim/bundle/vimtex,' . &runtimepath
let &runtimepath = '~/.vim/bundle/troublepath,' . &runtimepath
let &runtimepath .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable
" Add relevant options and VimTeX configuration below.
autocmd User VimtexEventCompileFailed lua require('trouble').open('quickfix') |
I'm sorry for not providing it earlier.
It's basically a window that can show different kinds of info, in this case it shows the quickfix window. |
Thanks; I've pushed an update that I believe fixes this for you. Please update and test. |
All's working now, thanks once again for your efforts and kindness! |
Glad to hear it! |
Description
Hi, compilations done within the continuous compilation mode only populates the quickfix list the first time it finds an error, in the subsequent compilations I do not get my quickfix populated.
Steps to reproduce
Expected behavior
Quickfix window always get populated with the compilers errors when there're such.
Actual behavior
Quickfix window only get populated with the compilers errors when there's such in the first time errors are found.
Do you use a latexmkrc file?
Yes, it's content is: "$pdf_mode = 4;"
VimtexInfo
The text was updated successfully, but these errors were encountered: