1
0
Fork 0
mirror of synced 2024-12-26 00:33:20 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/handlebars.snippets

15 lines
298 B
Text
Raw Normal View History

2022-11-21 10:06:50 -05:00
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}}