Add inline if snippet to c.
This commit is contained in:
parent
3f956a0f48
commit
a1d8992489
@ -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}
|
||||||
|
Loading…
Reference in New Issue
Block a user