hmatsuda / ruby-block

highlight matching ruby block on Atom editor
https://atom.io/packages/ruby-block
GNU General Public License v2.0
16 stars 11 forks source link

Wrong highlight when while~do statement is in block #12

Closed hmatsuda closed 9 years ago

hmatsuda commented 9 years ago

e.g. In the below case, it highlights while 0 <= 10 do when cursor is at 5 line.

1 if true
2   while 0 <= 10 do
3     #
4   end
5 end