False-positive SENTENCE_WHITESPACE with two sentences in two arguments of a command #843
Labels
1-bug 🐛
Issue type: Bug report (something isn't working as expected)
2-unconfirmed
Issue status: Bug that needs to be reproduced (all new bugs have this label)
Describe the bug
Two sentences in two parameter fields get checked like they are next to each other, without whitespace, resulting in a false-positive
SENTENCE_WHITESPACE
.Both parameters should be checked and at least
\caption
does not appear inline, so a customltex.latex.commands
won't help.Expected behavior
Two parameters should be checked as if there were separated by a white space.
I can only think of synthetic situations where this would result in a false-negative, and even then I think treating two parameters as separated by white space is correct in more situations.
Sample document
\caption[This is a short caption.]{This is the long caption, that is shown below the figure and that can be quite long. It can also contain multiple sentences.}
LTeX configuration
nothing of relevance
"LTeX Language Server" log file
Version information
List here the version information of the relevant software.
java -version
, only if not using Java automatically downloaded by LTeX)The text was updated successfully, but these errors were encountered: