raku-mode
raku-mode copied to clipboard
Broken indentation when using `$foo.method: bar` syntax
With the given code, possible ways to indent it are:
my $resp = await Cro::HTTP::Client.patch: $url, :$headers,
:%body, content-type => ‘application/json’;
Or:
my $resp = await Cro::HTTP::Client.patch: $url, :$headers,
:%body, content-type => ‘application/json’;
However, perl6-mode does this:
my $resp = await Cro::HTTP::Client.patch: $url, :$headers,
:%body, content-type => ‘application/json’;