mirror of https://github.com/amix/vimrc.git
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
27 lines
313 B
27 lines
313 B
extends html
|
|
|
|
snippet assign
|
|
<#assign ${1} = ${0:${VISUAL}} />
|
|
|
|
snippet if
|
|
<#if ${1}>
|
|
${0:${VISUAL}}
|
|
</#if>
|
|
|
|
snippet ife
|
|
<#if ${1}>
|
|
${2:${VISUAL}}
|
|
<#else>
|
|
${0}
|
|
</#if>
|
|
|
|
snippet list
|
|
<#list ${1} as ${2}>
|
|
${0:${VISUAL}}
|
|
</#list>
|
|
|
|
snippet attempt
|
|
<#attempt>
|
|
${0:${VISUAL}}
|
|
<#recover>
|
|
</#attempt>
|
|
|