Quick question - verbatim-like environments containing $ #3920
-
Hi, I just came across issue #237 from 2017 which was closed as unable to fix. I was just wondering if there has been any change since then? It’s not a huge deal, but I am having the exact same problem with one document I’m working on. Thanks in advance. |
Beta Was this translation helpful? Give feedback.
Answered by
jlelong
Jun 7, 2023
Replies: 1 comment 3 replies
-
Unfortunately, this is a limitation of vscode's syntax highlighting engine. |
Beta Was this translation helpful? Give feedback.
3 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
The
lstlisting
example is a bug. This is fixed by jlelong/vscode-latex-basics@bbeea0eGoing back to the original question. The limitation is that a grammar cannot use configuration variables. Currently the following environments are considered as verbatim
[a-zA-Z]*code\*?
or(fboxv|boxedv|V|v|spv)erbatim\*?
and all the environments defined by theminted
package.