atom-language
atom-language copied to clipboard
Syntax Highlighting on lines with < and > is wrong
Describe what you see, what you want to see, and perhaps some linkage to docs, synopses, or irclog chatter.
Syntax Highlighting on lines with < is wrong on the web page the characters after a "<" up to the next ">" are in a single "span" and have a "string" class
Example Code
on https://docs.perl6.org/syntax/loop (loop ( my $i = 0; $i++ < 3;) { $i * 2 }).say; #-> "(2 4 6)"
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.
Leave this in. For internal use.
- [x] Fixed in Master
- [x] Fixed in Release
- [x] Has Tests
- [x] Passes Tests
- [ ] Needs further fixes
This is stop-gap fixed in https://github.com/perl6/atom-language-perl6/commit/4b3f6701af4a605f39dfaf1a03493edc3aea476d
Will still show this issue when there is more than 1 space between the +
and the <
though.
Fix for this is in release. Will leave this open until it is fixed with multiple spaces though:
$i++ < 3; #->