Skip to content

Fix liquid tag completions support#794

Merged
sebastienros merged 1 commit intomainfrom
sebros/liquidcompletion
May 3, 2025
Merged

Fix liquid tag completions support#794
sebastienros merged 1 commit intomainfrom
sebros/liquidcompletion

Conversation

@sebastienros
Copy link
Copy Markdown
Owner

Fixes #793

@sebastienros sebastienros enabled auto-merge (squash) May 3, 2025 21:31
@sebastienros sebastienros merged commit 2c42be0 into main May 3, 2025
3 checks passed
@sebastienros sebastienros deleted the sebros/liquidcompletion branch May 3, 2025 21:35
%}
";
var source = """
{%- for i in (1..5) %}
Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Is - after the percentage symbol for a reason? This is the first time I see it

Copy link
Copy Markdown
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

In liquid it means that the spaces before the tag should not be rendered. Works on every tags or output tag.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Possible problem with 'continue' in a 'for' wrapped 'liquid' statement.

2 participants