Merge pull request #326 from RyanPineo/master
java: Allow else/elif to be expanded mid line.
This commit is contained in:
commit
dbf58517de
@ -173,13 +173,13 @@ default:
|
|||||||
$0
|
$0
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet elif "else if" b
|
snippet elif "else if"
|
||||||
else if ($1)`!p nl(snip)`{
|
else if ($1)`!p nl(snip)`{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet /el(se)?/ "else" br
|
snippet /el(se)?/ "else" r
|
||||||
else`!p nl(snip)`{
|
else`!p nl(snip)`{
|
||||||
$0
|
$0
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user