Skip to content

Commit

Permalink
Merge pull request #326 from RyanPineo/master
Browse files Browse the repository at this point in the history
java: Allow else/elif to be expanded mid line.
  • Loading branch information
SirVer committed Mar 26, 2014
2 parents 3254ebf + 1d41c71 commit dbf5851
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UltiSnips/java.snippets
Original file line number Diff line number Diff line change
Expand Up @@ -173,13 +173,13 @@ default:
$0
endsnippet

snippet elif "else if" b
snippet elif "else if"
else if ($1)`!p nl(snip)`{
$0
}
endsnippet

snippet /el(se)?/ "else" br
snippet /el(se)?/ "else" r
else`!p nl(snip)`{
$0
}
Expand Down

0 comments on commit dbf5851

Please sign in to comment.