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