LTeX Language Server: LSP language server for LanguageTool :mag::heavy_check_mark: with support for LaTeX :mortar_board:, Markdown :pencil:, and others
It works for "cases", but not for "align". I guess it means the setting cannot override the default situations. (I think "align" owns a default one while cases does not.)
The test codes in *.tex:
"an apples" is ignored for "cases" successfully but not ignored for "align".
Also the same for "ltex.latex.commands",
Such as:
"\\begin{}[]":"ignore" in settings.json does not work for
\begin{frame}[allowframebreaks=1,t] \end{frame} in *.tex
and
"\\fullcite{}": "ignore" works for \fullcite{allowframebreaks=1,t}
Steps to reproduce
Steps to reproduce the behavior:
Go to "setting.json" for VSCode & "*.tex" (a new .tex file)
Add thses code respectively.
active the check
See errors (different results for these situations).
Expected behavior
LTeX can ignore correctly for both of them. (ones with initial settings and without intial settings)
LTeX configuration
Please paste all configuration settings starting with ltex. from your settings.json. You can help us by temporarily removing some irrelevant settings from your settings.json and see if the bug still occurs.
Describe the bug when I used "ltex.latex.commands" in Settings.json. That is,
It works for "cases", but not for "align". I guess it means the setting cannot override the default situations. (I think "align" owns a default one while cases does not.) The test codes in *.tex:
"an apples" is ignored for "cases" successfully but not ignored for "align".
Also the same for "ltex.latex.commands", Such as:
"\\begin{}[]":"ignore"
in settings.json does not work for\begin{frame}[allowframebreaks=1,t] \end{frame}
in *.tex and"\\fullcite{}": "ignore"
works for\fullcite{allowframebreaks=1,t}
Steps to reproduce Steps to reproduce the behavior:
Expected behavior LTeX can ignore correctly for both of them. (ones with initial settings and without intial settings)
Sample document
for settings.json
and
for *.tex
LTeX configuration Please paste all configuration settings starting with
ltex.
from yoursettings.json
. You can help us by temporarily removing some irrelevant settings from yoursettings.json
and see if the bug still occurs.LTeX LS log Paste the log (output) of LTeX LS here:
Version information List here the version information of the relevant software.
Windows 10 LTeX – LanguageTool grammar/spell checking 13.1.0
Additional context/information You can add any other context or information about the problem here.