waveclaw / language-rpm-spec

Atom support for basic RPM specfiles
MIT License
3 stars 3 forks source link

Refine line comment regexp #8

Closed ulidtko closed 8 years ago

ulidtko commented 8 years ago

Before:

After:

waveclaw commented 8 years ago

Please see if the explicit list for the Microsoft sharp languages helps with your use case.

There is still an outstanding wart that could use improvement upon. The current regular expression lexer in the parser does not consider word boundaries before the language tag. This means that CC# or FMFMFM# will not start a comment in version 0.9.0.