HarlemSquirrel / language-haml

Haml language grammar for GitHub's Atom IDE
MIT License
33 stars 24 forks source link

Fix regex that finds the end of a haml comment #42

Closed alitorbati closed 9 years ago

alitorbati commented 9 years ago

Previous, commenting in a .haml file with / or -# would italicize and gray out the text on that line, as well as erroneously italicizing and graying out any white text on the following line.

This fix ensures that the end of a comment is determined by a newline character.

ezekg commented 9 years ago

Should be fixed in latest version.