vimrc/sources_non_forked/vim-snippets/snippets/handlebars.snippets
2016-12-27 11:46:49 -03:00

14 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}}