Shopify/prettier-plugin-liquid

liquid format error

RhinoLu opened this issue · 1 comments

Describe the bug
The minus sign should stick with the big parentheses sign.

Unformatted source

{{-block.settings.period-title-}}

Expected output

{{- block.settings['period-title'] -}}

Actual output

{{- block.settings['period-title-'] }}

Debugging information

  • Mac
  • 1.0.6

Additional context
Prettier_Liquid_Plugin_-_Playground

Duplicate of #179

Same issue causing different bug.