panoply / vscode-liquid

💧Liquid language support for VS Code
https://marketplace.visualstudio.com/items?itemName=sissel.shopify-liquid
Other
171 stars 23 forks source link

Code commented after adding word comment #173

Open hhhhaaarry opened 9 months ago

hhhhaaarry commented 9 months ago

{% paginate article.comments by 5 %} {% for comment in article.comments %}

{{ comment.author }}
      {% endfor %}

{% endpaginate %}

I'm trying to add this pagination for comments, but as soon as i add the word comment inside {% %} the next lines of the code are gray as if they where commented, and not highlighted anymore (picture below)

Thanks in advance

Captura de pantalla 2023-10-10 a las 14 18 35

panoply commented 9 months ago

Hey @hhhhaaarry,

I'm unable to recreate this. Seems like conflicting grammar, Do you have another Liquid extension installed? Below is that structure replicated across multiple themes, all seem to highlight correctly.

https://github.com/panoply/vscode-liquid/assets/7041324/0ee9c0e1-7524-4eb3-9542-89a8a01090ce