[c] Added 'elif' snippet.

This commit is contained in:
Aaron Broder 2012-08-28 10:34:24 -07:00
parent 260f24cccc
commit 06b2e3a188

View File

@ -50,6 +50,10 @@ snippet el
else { else {
${1} ${1}
} }
snippet elif
else if (${1:/* condition */}) {
${2:/* code */}
}
# Ternary conditional # Ternary conditional
snippet t snippet t
${1:/* condition */} ? ${2:a} : ${3:b} ${1:/* condition */} ? ${2:a} : ${3:b}