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

(low priority) Ruby syntax highlighting issue for regex literals with ! - or + operators #115

Open
aeschli opened this issue Jan 11, 2018 · 0 comments

Comments

@aeschli
Copy link

aeschli commented Jan 11, 2018

From @jeff-hykin on December 24, 2017 4:45

  • VSCode Version: 1.19
  • OS Version: macOS 10.12.6
  • tested with extensions disabled

Steps to Reproduce:

audience = "world"
thing = ! /hello #{audience}/
puts thing 
#>>> true 

The syntax highlighting for /hello #{audience}/ is screwed up. The problem also exists if the - or + operators are used, however the ~ operator has the correct highlighting.

Solution:

This is a pretty small problem, so mentioning this in the ruby.tmLanguage.json is probably sufficient.

I'm somewhat familiar with language files so I might be able to add a fix and create a pull request in the next few weeks.

Copied from original issue: microsoft/vscode#40769

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant