mirror of https://github.com/amix/vimrc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
14 lines
298 B
14 lines
298 B
snippet if # {{#if value}} ... {{/if}}
|
|
{{#if ${1:value}}}
|
|
${0:${VISUAL}}
|
|
{{/if}}
|
|
snippet ifn # {{#unless value}} ... {{/unless}}
|
|
{{#unless ${1:value}}}
|
|
${0:${VISUAL}}
|
|
{{/unless}}
|
|
snippet ife # {{#if value}} ... {{else}} .. {{/if}}
|
|
{{#if ${1:value}}}
|
|
${2:${VISUAL}}
|
|
{{else}}
|
|
${3}
|
|
{{/if}}
|
|
|