mirror of
https://github.com/amix/vimrc
synced 2024-12-19 08:23:09 +00:00
15 lines
268 B
Text
15 lines
268 B
Text
|
snippet if # {{#if value}} ... {{/if}}
|
||
|
{{#if ${1:value}}}
|
||
|
${0}
|
||
|
{{/if}}
|
||
|
snippet ifn # {{#unless value}} ... {{/unless}}
|
||
|
{{#unless ${1:value}}}
|
||
|
${0}
|
||
|
{{/unless}}
|
||
|
snippet ife # {{#if value}} ... {{else}} .. {{/if}}
|
||
|
{{#if ${1:value}}}
|
||
|
${2}
|
||
|
{{else}}
|
||
|
${3}
|
||
|
{{/if}}
|