Skip to content
This repository was archived by the owner on Jul 31, 2023. It is now read-only.
This repository was archived by the owner on Jul 31, 2023. It is now read-only.

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

Description

@alexanderadam

Your environment

  • vscode-ruby version: 0.28.1
  • Ruby version: all of them
  • Ruby version manager (if any): all of them
  • VS Code version: 1.79.2
  • Operating System: all of them

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions