Stillat / vscode-antlers-language-server

Provides rich language features for Statamic's Antlers templating language, including code completions, syntax highlighting, and more.
https://antlers.dev
MIT License
36 stars 3 forks source link

Formatter messes up `{{ unless type == 'section' }}` #65

Closed marcorieser closed 1 year ago

marcorieser commented 1 year ago

Describe the bug The following antlers code gets messed up by the formatter.

from:

{{ unless type == 'section' }}{{ /unless }}

to:

{{ unless type == pe == 'se }}
{{ /unless }}

Impacted Products Which Antlers Toolbox products does this bug apply to?

Versions and Other Plugins/Extensions Using prettier-plugin-antlers version 1.1.26 in PhpStorm with Prettier.

JohnathonKoster commented 1 year ago

Resolved in the following versions: