dfinity / prettier-plugin-motoko

A code formatter for the Motoko smart contract language.
Apache License 2.0
28 stars 1 forks source link

Allow multi-line text concatenation #96

Closed rvanasa closed 1 year ago

rvanasa commented 1 year ago

Provides more flexibility for the text concatenation operator.

Recommended pattern:

let text = (
  "aaa" #
  "bbb" #
  "ccc"
);
// Result: "aaabbbccc"

Fixes #68.