Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

remove the tabstop from the else branches

this is needed since we cant expand 2 snippets at once, and if we try to
expand a second snippet inside the if branch, we will be jumped to the
else branch
  • Loading branch information...
commit 7bf4b529a47dd0a8e080dce1529cc892d70308a0 1 parent 892738e
@scrooloose scrooloose authored
View
1  eruby/ife.snippet
@@ -1,5 +1,4 @@
<% if ${1} %>
${2}
<% else %>
- ${3}
<% end %>
View
1  eruby/unlesse.snippet
@@ -1,5 +1,4 @@
<% if ${1} %>
${2}
<% else %>
- ${3}
<% end %>
View
1  java/ife.snippet
@@ -1,5 +1,4 @@
if(${1}){
${2}
}else{
- ${3}
}
View
1  javascript/ife.snippet
@@ -1,5 +1,4 @@
if (${1:true}) {
${2}
} else {
- ${3}
};
View
2  php/ife.snippet
@@ -1,6 +1,4 @@
if (${1:/* condition */}) {
${2:// code...}
} else {
- ${3:// code...}
}
-${4}
View
1  ruby/ife.snippet
@@ -1,5 +1,4 @@
if ${1:condition}
${2}
else
- ${3}
end
View
2  ruby/unlesse.snippet
@@ -1,4 +1,4 @@
unless ${1:condition}
-else
${2}
+else
end
View
3  vim/ife.snippet
@@ -1,5 +1,4 @@
if ${1}
${2}
else
- ${3}
-endif${4}
+endif
Please sign in to comment.
Something went wrong with that request. Please try again.