Raku / atom-language

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

Backslashed quotes in «...» list break highlights for rest of file #80

Open zoffixznet opened 6 years ago

zoffixznet commented 6 years ago

Highlights broken after backslashed double-quotes in «…» construct.

Example Code

method moves-for ($tag where * ∈ %!world.keys) {
    my @moves-raw := @(split :skip-empty, "\0", self!run-out: $tag, «git log
      -n5 -z --no-merges --no-color --format=\"%H%n%aN%n%ae%n%at\" --numstat
    »);
    dd @moves-raw;
}

method !run-out ($tag where * ∈ %!world.keys, |c) {
    my $proc := run :out, :cwd($!game-dir.add: $tag), |c;
    $proc.out.slurp: :close;
}

Picture [optional]

z

Leave this in. For internal use.