-
Notifications
You must be signed in to change notification settings - Fork 28.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
LaTeX syntax highlighting broken with minted and escapeinside #180692
Comments
Thanks for creating this issue! It looks like you may be using an old version of VS Code, the latest stable release is 1.77.3. Please try upgrading to the latest version and checking whether this issue remains. Happy Coding! |
@The-Compiler thank you for the clear example. I've moved the issue over to jlelong/vscode-latex-basics#58, which is where we get our syntax highlighting grammar from. I suspect though that this is going to be a tough one to fix. |
Type: Bug
When using minted with LaTeX with its
escapeinside
feature (see pages 22/23 in the docs), this breaks VS Code's syntax highlighting, and the rest of the file is (mostly) rendered in red.Minimal example:
Outcome on stock config without extensions:
VS Code version: Code 1.77.1 (b7886d7, 2023-04-04T23:20:37.202Z); 1.77.3 (704ed70)
OS version: Linux x64 6.2.11-arch1-1
Modes:
Sandboxed: No
System Info
canvas_oop_rasterization: disabled_off
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_renderer: enabled_on
video_decode: disabled_software
video_encode: disabled_software
vulkan: disabled_off
webgl: enabled
webgl2: enabled
webgpu: disabled_off
A/B Experiments
The text was updated successfully, but these errors were encountered: