Skip to content

E40: can't open errorfile with build_dir #768

@andymass

Description

@andymass

Explain the issue

After the switch to the new jobs backend, in non-continuous mode, the build_dir is not handled correctly when setting errorfile (cfile/cgetfile) to populate the quickfix.

Pressing \ll gives E40: can't open errorfile test.log, although the build works.
\le works correctly.

Minimal working example

\documentclass{minimal}
\begin{document}
Hello World!
\end{document}

Minimal vimrc file

set nocompatible
let &rtp  = '~/.vim/bundle/vimtex,' . &rtp
let &rtp .= ',~/.vim/bundle/vimtex/after'
filetype plugin indent on
syntax enable
let g:vimtex_compiler_latexmk = {
    \ 'continuous': 0,
    \ 'build_dir': 'build',
    \ }

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions