rubyide / vscode-ruby

Provides Ruby language and debugging support for Visual Studio Code
https://marketplace.visualstudio.com/items?itemName=rebornix.Ruby
MIT License
1.26k stars 285 forks source link

Syntax highlighting issue if there's a double quote and an inline rescue #864

Open alexanderadam opened 1 year ago

alexanderadam commented 1 year ago

Your environment

Expected behaviour

if (`foo 2>&1` =~ / "foo/ rescue nil)
  foo(bar)
end

should be highlighted properly

Actual behaviour

Screenshot 2023-07-06 at 10 28 03

Every code afterwards looses its proper highlighting