From 1d41c715e23a62174cb4ad92ca9a7956e9966c82 Mon Sep 17 00:00:00 2001 From: Ryan Pineo Date: Wed, 26 Mar 2014 15:39:47 -0400 Subject: [PATCH] Allow java else/elif to be expanded mid line. --- UltiSnips/java.snippets | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/UltiSnips/java.snippets b/UltiSnips/java.snippets index 96cc7a9..de15572 100644 --- a/UltiSnips/java.snippets +++ b/UltiSnips/java.snippets @@ -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 }