As suggested in comments of #2519 \includeonly is does not actually include any files in the document, but only defines which files of actual \includes, that are to be included in the compilation.
Having includeonly in g:vimtex_include_indicators results in files and TODOs to be shown twice in the vimtex-toc.
Steps to reproduce
Change minimal.vim to point to installation of vimtex
Description
As suggested in comments of #2519
\includeonly
is does not actually include any files in the document, but only defines which files of actual\include
s, that are to be included in the compilation. Havingincludeonly
ing:vimtex_include_indicators
results in files and TODOs to be shown twice in the vimtex-toc.Steps to reproduce
nvim -u minimal.vim minimal.tex
Expected behavior
No response
Actual behavior
No response
Do you use a latexmkrc file?
No
VimtexInfo