atom / language-ruby

Ruby package for Atom
Other
101 stars 144 forks source link

Syntax highlighting for method definition as non-first parameter is broken #231

Open AlexWayfer opened 6 years ago

AlexWayfer commented 6 years ago

Prerequisites

Description

Syntax highlighting for method definition as non-first parameter is broken:

image

Steps to Reproduce

foo 'bar', def baz; end

Expected behavior: Method is highlighting as usual.

Actual behavior: Method's highlighting is broken.

Reproduces how often: 100%

Versions

$ atom --version
Atom    : 1.25.1
Electron: 1.7.11
Chrome  : 58.0.3029.110
Node    : 7.9.0

$ apm --version
apm  1.19.0
npm  3.10.10
node 6.9.5 x64
atom 1.25.1
python 2.7.14
git 2.17.0

Linux 4.15.15-1-ARCH