Add inline if snippet to c.

This commit is contained in:
kenshin54 2013-07-06 22:17:27 +08:00
parent 3f956a0f48
commit a1d8992489

View File

@ -65,6 +65,9 @@ snippet elif
else if (${1:/* condition */}) { else if (${1:/* condition */}) {
${2} ${2}
}${3} }${3}
# ifi
snippet ifi
if (${1:/* condition */}) ${2};${3}
# ternary # ternary
snippet t snippet t
${1:/* condition */} ? ${2:a} : ${3:b} ${1:/* condition */} ? ${2:a} : ${3:b}