Open zoffixznet opened 8 years ago
Can those actually be multi-line? I didn't realize they could.
Yup. I got that in a module and tests seem to pass :) https://github.com/zoffixznet/perl6-Number-Denominate/blob/master/lib/Number/Denominate.pm6#L63
This is gonna be hard, the Perl6 compiler figures it out because it keeps track of what kind of expression you can build where, but since this highlighter only sees the syntax, making this multiline captures whenever any less-than operator is in a line :disappointed:
Then close the issue :) it's not tgat important :)
I could require that (since it seems idiomatic) in order to be considered a quoteword construct, each delimiter must be immediately followed/preceded by a letter. I know this isn't actually required but at least it would allow for some multi-line quotewords and it seems that often most people do this anyways.
See image (second
< ... >
list has a newline between items at some point to fit it on multiple lines):