1
0
Fork 0
mirror of synced 2024-11-22 16:55:34 -05:00
ultimate-vim/sources_non_forked/vim-snippets/snippets/mustache.snippets

16 lines
295 B
Text
Raw Normal View History

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