Raku / atom-language

Atom/Github Raku Syntax Highlighting Support 🦋
Other
24 stars 11 forks source link

Double-Heredocs Seem to Break Highlights #63

Open zoffixznet opened 7 years ago

zoffixznet commented 7 years ago

All the stuff after SEARCHES closing delimiter is still highlighted as strings

Example Code

my @expected-searches = <beer masak vacation whisky>;
my ($y, @searches) = q:to/INPUT/, q:to/SEARCHES/.lines;
    xxxx
    INPUT
    beer
    masak
    vacation
    whisky
    SEARCHES
is(@searches.elems, 1, "We didn't flatten the RHS because it's no single argument");
is(@searches[0].WHAT, Seq, "Seq stayed intact");
is-deeply @searches[0].Array, @expected-searches, 'seq => array works 3';

Picture [optional]

image

Leave this in. For internal use.