Closed Alhadis closed 8 years ago
To all the watchers who just received an e-mail notifying them about an almost meaningless pull request, I'd like to profusely apologise.
Could you please include tests for it?
Sure thing! :D One sec.
And by "one sec", I mean "17 minutes". Oops.
Sorry, I get a bit paranoid about getting TDD-related stuff right... :|
LGTM /CC @atom/feedback
Thanks @Alhadis for contributing!
No wuckin' furries, as we say here in Australia. =)
While Atom permits the omission of a range pattern's "end" rule, not all engines using TextMate's rendering engine do, including TextMate itself. For example, this rule is ignored by the Lightshow app when previewing a piece of Perl code containing freeform text following an END line.
Admittedly, this is a pretty minor issue, since I only just noticed GitHub's syntax highlighting is unaffected by this (Lightshow's probably using an older version of First-Mate, or whatever's powering the rendering). But I only noticed this after I'd made the almost-completely-useless fix, so... eh... :')