It can happen that vimtex.root is not a proper directory (for example with plugin gitsigns.nvim, the diff window has vimtex.root as something like gitsigns:///dirpath/.git), leading to errors in vimtex#paths#pushd(b:vimtex.root).
It seems that not starting the parser in such buffers works alright, but I'm not sure if it is the right/optimal solution.
It can happen that
vimtex.root
is not a proper directory (for example with plugingitsigns.nvim
, the diff window hasvimtex.root
as something likegitsigns:///dirpath/.git
), leading to errors invimtex#paths#pushd(b:vimtex.root)
.It seems that not starting the parser in such buffers works alright, but I'm not sure if it is the right/optimal solution.