vimrc/sources_non_forked/vim-snippets/snippets/handlebars.snippets

15 lines
268 B
Text
Raw Normal View History

2016-12-27 14:46:49 +00:00
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}}