vscode-liquid
vscode-liquid copied to clipboard
Does not understand equals operator in assign
{%- assign foo = (bar == quux) -%}
is reformatted to
{%- assign foo = (bar = = quux) -%}
Extension version: 4.0.1
Hey @elmuerte
Is this valid Liquid? I've never seen parenthesis wrapped in assignments, have I missed something? Sorry for late response.
The parenthesis is an error on my part, they should not be there.
{% assign foo = bar == quux %}
That is valid in liquidjs. demo