vscode-liquid icon indicating copy to clipboard operation
vscode-liquid copied to clipboard

Code commented after adding word comment

Open hhhhaaarry opened this issue 9 months ago • 1 comments

{% 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

hhhhaaarry avatar Oct 10 '23 12:10 hhhhaaarry

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

panoply avatar Oct 10 '23 15:10 panoply