Skip to content

Commit

Permalink
Allow java else/elif to be expanded mid line.
Browse files Browse the repository at this point in the history
  • Loading branch information
ryanpineo committed Mar 26, 2014
1 parent 3254ebf commit 1d41c71
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions UltiSnips/java.snippets
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 1d41c71

Please sign in to comment.