Skip to content
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

Ruby text remains green after block quotes end. #136007

Closed
ghost opened this issue Oct 28, 2021 · 3 comments
Closed

Ruby text remains green after block quotes end. #136007

ghost opened this issue Oct 28, 2021 · 3 comments
Assignees
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream

Comments

@ghost
Copy link

ghost commented Oct 28, 2021

We have written the needed data into your clipboard because it was too large to send. Please paste.

Issue Type: Bug

With the interpreter language set to Ruby, start and end any block quotes via alt+shift+a, All of the code in the file is visibly green instead of the colors they should normally be.

VS Code version: Code 1.61.2 (6cba118, 2021-10-19T14:57:20.575Z)
OS version: Windows_NT x64 10.0.19043
Restricted Mode: No

System Info
Item Value
CPUs Intel(R) Core(TM) i9-10900X CPU @ 3.70GHz (20 x 3696)
GPU Status 2d_canvas: enabled
gpu_compositing: enabled
multiple_raster_threads: enabled_on
oop_rasterization: enabled
opengl: enabled_on
rasterization: enabled
skia_renderer: enabled_on
video_decode: enabled
vulkan: disabled_off
webgl: enabled
webgl2: enabled
Load (avg) undefined
Memory (System) 31.70GB (23.33GB free)
Process Argv --crash-reporter-id 96439ede-1459-44fa-b19b-87087dd9db4b
Screen Reader no
VM 0%
Extensions (1)
Extension Author (truncated) Version
copilot Git 1.6.3503
A/B Experiments
vsliv368:30146709
vsreu685:30147344
python383:30185418
pythonvspyt602:30300191
vspor879:30202332
vspor708:30202333
vspor363:30204092
vstes627:30244334
pythonvspyt639:30300192
pythontb:30283811
pythonptprofiler:30281270
vshan820:30294714
vstes263:30335439
pythondataviewer:30285071
pythonvsuse255:30340121
vscod805cf:30301675
pythonvspyt200:30340761
binariesv615:30325510
vsccppwtct:30382698
pythonvssor306:30344512
bridge0708:30335490
pygetstartedt3:30385195
dockerwalkthru:30377721
bridge0723:30353136
pythonrunftest32:30373476
pythonf5test824:30373475
javagetstartedc:30364665
pythonvspyt187:30373474
vsqsis200:30386379
vsaa593cf:30376535
vssld246cf:30386378

@alexr00
Copy link
Member

alexr00 commented Oct 28, 2021

Can you please share a screen shot and a code snippet that can be used to reproduce the issue?

@alexr00 alexr00 self-assigned this Oct 28, 2021
@alexr00 alexr00 added the info-needed Issue requires more information from poster label Oct 28, 2021
@ghost
Copy link
Author

ghost commented Oct 28, 2021

image
It happens with any kind of block quote (in Ruby only), anything that begins with =begin will turn the rest of the code green even after the =end. The code after doesn't matter, it can be literally anything.

@alexr00
Copy link
Member

alexr00 commented Oct 29, 2021

Thank you! Moved to the repo we pull the ruby grammar from: textmate/ruby.tmbundle#139

@alexr00 alexr00 closed this as completed Oct 29, 2021
@alexr00 alexr00 added grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream and removed info-needed Issue requires more information from poster labels Oct 29, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Dec 13, 2021
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
grammar Syntax highlighting grammar upstream-issue-linked This is an upstream issue that has been reported upstream
Projects
None yet
Development

No branches or pull requests

1 participant