add liquid comment syntax w/ tests

Includes single line comment syntax with # that ignores block wrap tag requirement (e.g. {% %} enclosing line comments) for functional usage.
This commit is contained in:
unclebabykern
2024-05-29 12:17:56 -06:00
parent 0f3f027d69
commit a3b911658e
5 changed files with 56 additions and 0 deletions

View File

@@ -773,5 +773,21 @@
"pattern": "#"
}
]
},
{
"language": "Liquid",
"markers": [
{
"type": "line",
"pattern": "#"
},
{
"type": "block",
"pattern": {
"start": "{% comment %}",
"end": "{% endcomment %}"
}
}
]
}
]