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

ignore single warnings/errors #1131

Open endir opened 3 months ago

endir commented 3 months ago

It is useful sometimes to ignore single warnings. For example I would like to have labels for each section even if I do not cite the section. so for example I would like to ignore the warnings on those lines. E.g.

\section{test} \label{test} % type: ignore

so even if I do not have sometime \label{test} I would not get unused label warning

DasNaCl commented 2 months ago

Seems to be a duplicate of #1092