Environment option keywords inside square brackets are not ignored (LaTeX) #161
Labels
1-bug 🐛
Issue type: Bug report (something isn't working as expected)
2-confirmed
Issue status: Confirmed, reproducible bug in LTeX
3-fixed
Issue resolution: Issue has been fixed on the develop branch
Milestone
Describe the bug
Environments with options in square brackets (e.g.
\begin{frame}[noframenumbering]
) are spell checked, but I think any options inside the brackets (i.e.noframenumbering
) should be ignored. There doesn't seem to be a way to ignore the command usingltex.latex.commands
orltex.latex.environments
.Steps to reproduce
Steps to reproduce the behavior:
frame
environment and pass an option keyword which is not an actual word. For example,\begin{frame}[noframenumbering]
.ltex
doesn't ignore the environment option keyword:Expected behavior
Option keywords in square brackets should be ignored.
Sample document
Minimal working example:
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
Version information
ltex
is using whatever Java it comes bundled withAdditional context/information
None
The text was updated successfully, but these errors were encountered: