1
0
Fork 0
mirror of synced 2024-11-17 14:35:34 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/mustache.snippets
2017-08-03 23:21:37 +08:00

15 lines
295 B
Text

snippet if # {{#value}} ... {{/value}}
{{#${1:value}}}
${0:${VISUAL}}
{{/$1}}
snippet ifn # {{^value}} ... {{/value}}
{{^${1:value}}}
${0:${VISUAL}}
{{/$1}}
snippet ife # {{#value}} ... {{/value}} {{^value}} ... {{/value}}
{{#${1:value}}}
${2:${VISUAL}}
{{/$1}}
{{^$1}}
${3}
{{/$1}}