### Description In a file that does not end with a newline, a begin-end block at the end of the file will be highlighted incorrectly. *Edit by @rsese to snippet for easy copy/paste* ```rb puts "hello" =begin this is a comment and so is this =end ``` when the file ends with a newline (correct highlighting):  when the file does not end with a newline (incorrect highlighting):  **Reproduces how often:** always ### Versions Atom : 1.32.2 Electron: 2.0.9 Chrome : 61.0.3163.100 Node : 8.9.3 macOS High Sierra 10.13.5
Description
In a file that does not end with a newline, a begin-end block at the end of the file will be highlighted incorrectly.
Edit by @rsese to snippet for easy copy/paste
when the file ends with a newline (correct highlighting):
when the file does not end with a newline (incorrect highlighting):
Reproduces how often: always
Versions
Atom : 1.32.2
Electron: 2.0.9
Chrome : 61.0.3163.100
Node : 8.9.3
macOS High Sierra 10.13.5