Liquid Prettier plugin does not format capture blocks correctly

Short description of issue

Capture blocks are not formatted

Reproduction steps

We’re using the Prettier Liquid plugin extension and we’ve configured it to format on save. However, the capture blocks are not properly formatted.

See the screenshot attached, if I write a poorly formatted capture I’d expect it to reformat it but it does not.

Additional info

N/A

What type of topic is this

Bug report

Upload screenshot(s) of issue

This is intentional due to the very nature of using capture. Some more information is available here: theme-tools/packages/prettier-plugin-liquid at main · Shopify/theme-tools · GitHub

1 Like

Thanks a lot, this makes a lot of sense :slight_smile: