Stillat / blade-parser-typescript

A Laravel Blade parser, compiler, and static analyzer written in TypeScript.
https://stillat.com
MIT License
82 stars 2 forks source link

Concatenation operator spacing no longer respected #66

Closed zepfietje closed 1 year ago

zepfietje commented 1 year ago

After updating the formatter from 1.5.6 to 1.6.5 (don't know which exact version caused it), the spacing around the string concatenation operator no longer respects the Pint config. Default Laravel installation with the Blade formatter configured to use Pint should give you this:

{{ $foo.$bar }}

Instead, currently it gives:

{{ $foo . $bar }}
JohnathonKoster commented 1 year ago

I see where that happened - will get that updated for you sometime today 🙂

zepfietje commented 1 year ago

Glad you found it!

JohnathonKoster commented 1 year ago

Resolved as of 1.6.6 🙌

zepfietje commented 1 year ago

Confirmed, thanks!