[c] Added 'elif' snippet.
This commit is contained in:
parent
260f24cccc
commit
06b2e3a188
@ -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}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user