Improved liquid snippet.
This commit is contained in:
parent
48ceccda3b
commit
ef31721bce
@ -31,7 +31,7 @@ abbr unless endunless
|
|||||||
snippet case
|
snippet case
|
||||||
abbr case when endcase
|
abbr case when endcase
|
||||||
{% case ${1:#:condition} %}
|
{% case ${1:#:condition} %}
|
||||||
{% when ${2:TARGET} %}
|
{% when ${2:#:TARGET} %}
|
||||||
${3}
|
${3}
|
||||||
{% endcase%}
|
{% endcase%}
|
||||||
|
|
||||||
@ -62,7 +62,7 @@ snippet assign
|
|||||||
{% assign ${1:#:var} = ${2:#:value} %}
|
{% assign ${1:#:var} = ${2:#:value} %}
|
||||||
|
|
||||||
snippet capture
|
snippet capture
|
||||||
{% capture ${1:#:var} %}${2:TARGET}{% endcapture %}
|
{% capture ${1:#:var} %}${2:#:TARGET}{% endcapture %}
|
||||||
|
|
||||||
snippet include
|
snippet include
|
||||||
{% include ${1:#:TARGET} %}
|
{% include ${1:#:TARGET} %}
|
||||||
|
Loading…
Reference in New Issue
Block a user