Merge pull request #121 from rudfol/master

c: Added eli snippet.
This commit is contained in:
Holger Rapp 2014-01-16 21:24:32 -08:00
commit ae611ccf95

View File

@ -111,6 +111,12 @@ else {
} }
endsnippet endsnippet
snippet eli "else if .. (eli)"
else if (${1:/* condition */}) {
${VISUAL}${0:${VISUAL/(.*)/(?1::\/* code *\/)/}}
}
endsnippet
snippet ife "if .. else (ife)" snippet ife "if .. else (ife)"
if (${1:/* condition */}) if (${1:/* condition */})
{ {