1
0
Fork 0
mirror of synced 2024-12-27 17:13:21 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/mustache.snippets

16 lines
295 B
Text
Raw Normal View History

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