Updated space problem- added 'if'
This commit is contained in:
parent
bc5e3bdb45
commit
76327d17c6
@ -112,8 +112,20 @@ else {
|
||||
endsnippet
|
||||
|
||||
snippet eli "else if .. (eli)"
|
||||
else if (${1:/* condition */}) {
|
||||
${VISUAL}${0:${VISUAL/(.*)/(?1::\/* code *\/)/}}
|
||||
else if (${1:/* condition */})
|
||||
{
|
||||
${2:/* else.i */}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
snippet elie "else if.. else (elie)"
|
||||
else if (${1:/* condition */})
|
||||
{
|
||||
${2:/* else.i */}
|
||||
}
|
||||
else
|
||||
{
|
||||
${3:/* else */}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
@ -135,11 +147,11 @@ if (${1:/* condition */})
|
||||
}
|
||||
else if (${3:/* condition */})
|
||||
{
|
||||
${4:/* code */}
|
||||
${4:/* else.i */}
|
||||
}
|
||||
else
|
||||
{
|
||||
${5:/* code */}
|
||||
${5:/* else */}
|
||||
}
|
||||
endsnippet
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user