Closed charlespwd closed 1 year ago
toLiquidHtmlAST and toLiquidAST now both accept the { mode: 'completion' } option.
toLiquidHtmlAST
toLiquidAST
{ mode: 'completion' }
This lets us add █ characters in places where it would otherwise be impossible to "partially" parse.
Stuff like the following will be parseable:
{% █ %}
{{ █ }}
{{ var.█ }}
{{ var[█] }}
{{ var | █ }}
{{ var | replace: █ }}
Which will empower us to complete those areas without having a partial string to complete.
toLiquidHtmlAST
andtoLiquidAST
now both accept the{ mode: 'completion' }
option.This lets us add █ characters in places where it would otherwise be impossible to "partially" parse.
Stuff like the following will be parseable:
{% █ %}
,{{ █ }}
,{{ var.█ }}
,{{ var[█] }}
,{{ var | █ }}
,{{ var | replace: █ }}
.Which will empower us to complete those areas without having a partial string to complete.