Open zoffixznet opened 8 years ago
When passing named argument named :token, :rule, or :regex to a method, syntax highlighting explodes and everything that follows is highlighted incorrectly (for example as a string, if the argument's value is given with <>)
:token
:rule
:regex
<>
Foo.bar: :token<Foo>, :some-other-arg; Foo.bar: :regex<Foo>, :some-other-arg; Foo.bar: :rule<Foo>, :some-other-arg; Foo.bar: :token, :some-other-arg; Foo.bar: :regex, :some-other-arg; Foo.bar: :rule, :some-other-arg;
Issue Description
When passing named argument named
:token
,:rule
, or:regex
to a method, syntax highlighting explodes and everything that follows is highlighted incorrectly (for example as a string, if the argument's value is given with<>
)Example Code
Picture