latex-lsp / texlab

An implementation of the Language Server Protocol for LaTeX
GNU General Public License v3.0
1.49k stars 51 forks source link

Diagnostics not displayed with `$aux_dir` #1128

Closed jdujava closed 3 months ago

jdujava commented 3 months ago

Let's have (for example) the following aux_dir for latexmk

# .latexmkrc
$aux_dir = ".aux";

Diagnostics for unused labels are displayed, but other diagnostics (such as Overfull \hbox) are not. If the $aux_dir is not customized, everything works.

Info about my setup:

Minimal reproducible example

\documentclass[a4paper,12pt]{article}

\usepackage{graphicx}

\overfullrule=1mm

\begin{document}

\section{Working example}

\begin{figure}[!ht]
    \centering
    \includegraphics[width=1.2\linewidth]{example-image-a}
    \caption{This is an example image.}
    \label{fig:missing}
\end{figure}

\end{document}