Merge pull request #239 from kenshin54/master
Add inline if snippet to c
This commit is contained in:
commit
1c74a955b0
@ -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…
x
Reference in New Issue
Block a user