mirror of
https://github.com/amix/vimrc
synced 2024-12-13 13:42:30 +00:00
15 lines
295 B
Text
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}}
|