Merge pull request #326 from RyanPineo/master

java: Allow else/elif to be expanded mid line.
This commit is contained in:
Holger Rapp 2014-03-26 21:30:47 +01:00
commit dbf58517de

View File

@ -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
} }