2016-12-27 09:46:49 -05:00
|
|
|
snippet if # {{#if value}} ... {{/if}}
|
|
|
|
{{#if ${1:value}}}
|
2017-08-03 11:21:37 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
{{/if}}
|
|
|
|
snippet ifn # {{#unless value}} ... {{/unless}}
|
|
|
|
{{#unless ${1:value}}}
|
2017-08-03 11:21:37 -04:00
|
|
|
${0:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
{{/unless}}
|
|
|
|
snippet ife # {{#if value}} ... {{else}} .. {{/if}}
|
|
|
|
{{#if ${1:value}}}
|
2017-08-03 11:21:37 -04:00
|
|
|
${2:${VISUAL}}
|
2016-12-27 09:46:49 -05:00
|
|
|
{{else}}
|
|
|
|
${3}
|
|
|
|
{{/if}}
|