mirror of
https://github.com/amix/vimrc
synced 2024-12-19 16:33:14 +00:00
19 lines
283 B
Text
19 lines
283 B
Text
|
# if {{#value}} ... {{/value}}
|
||
|
snippet if
|
||
|
{{#${1:value}}}
|
||
|
${0}
|
||
|
{{/$1}}
|
||
|
# if not {{^value}} ... {{/value}}
|
||
|
snippet ifn
|
||
|
{{^${1:value}}}
|
||
|
${0}
|
||
|
{{/$1}}
|
||
|
# if else {{#value}} ... {{/value}} {{^value}} ... {{/value}}
|
||
|
snippet ife
|
||
|
{{#${1:value}}}
|
||
|
${2}
|
||
|
{{/$1}}
|
||
|
{{^$1}}
|
||
|
${3}
|
||
|
{{/$1}}
|