1
0
Fork 0
mirror of synced 2024-11-30 04:35:35 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/handlebars.snippets

15 lines
298 B
Text
Raw Normal View History

2016-12-27 09:46:49 -05:00
snippet if # {{#if value}} ... {{/if}}
{{#if ${1:value}}}
2017-02-11 08:01:38 -05:00
${0:${VISUAL}}
2016-12-27 09:46:49 -05:00
{{/if}}
snippet ifn # {{#unless value}} ... {{/unless}}
{{#unless ${1:value}}}
2017-02-11 08:01:38 -05:00
${0:${VISUAL}}
2016-12-27 09:46:49 -05:00
{{/unless}}
snippet ife # {{#if value}} ... {{else}} .. {{/if}}
{{#if ${1:value}}}
2017-02-11 08:01:38 -05:00
${2:${VISUAL}}
2016-12-27 09:46:49 -05:00
{{else}}
${3}
{{/if}}