2
0
Fork 0
mirror of https://github.com/amix/vimrc synced 2024-12-27 04:13:08 +00:00
vimrc/sources_non_forked/vim-snippets/snippets/handlebars.snippets
2017-02-11 14:01:38 +01:00

14 lines
298 B
Text

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