Skip to content

Ruby scanner: allow Ruby keywords used as keys in new hash syntax #126

Closed
@korny

Description

@korny

In code like if: picture?, a Ruby keyword is used as a hash symbol key. Ruby 1.9's syntax allows this, but CodeRay fails to highlight it correctly.

screenshot_04

Metadata

Metadata

Assignees

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions