atom-language icon indicating copy to clipboard operation
atom-language copied to clipboard

Token "rename" syntax does not recognize `-` or `'` in identifiers

Open zoffixznet opened this issue 7 years ago • 0 comments

typename_longname gets properly highlighted, but typename-longname isn't and typename'longname breaks highlights altogether:

Example Code

my token {
    <longname=.typename_longname>
     <longname=.typename-longname>
          <longname=.typename'longname>
}

Picture [optional]

Providing a picture means that if the issue is fixed and linguist updates to include the fix (linguist uses this package to highlight Perl 6 on GitHub), your issue will remain historically viewable. untitled

Leave this in. For internal use.

  • [ ] Fixed in Master
  • [ ] Fixed in Release
  • [ ] Has Tests
  • [ ] Passes Tests

zoffixznet avatar Jan 01 '18 20:01 zoffixznet