Permalink
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...
1 parent 892738e commit 7bf4b529a47dd0a8e080dce1529cc892d70308a0 @scrooloose scrooloose committed Feb 28, 2009
Showing with 2 additions and 10 deletions.
  1. +0 −1 eruby/ife.snippet
  2. +0 −1 eruby/unlesse.snippet
  3. +0 −1 java/ife.snippet
  4. +0 −1 javascript/ife.snippet
  5. +0 −2 php/ife.snippet
  6. +0 −1 ruby/ife.snippet
  7. +1 −1 ruby/unlesse.snippet
  8. +1 −2 vim/ife.snippet
View
@@ -1,5 +1,4 @@
<% if ${1} %>
${2}
<% else %>
- ${3}
<% end %>
View
@@ -1,5 +1,4 @@
<% if ${1} %>
${2}
<% else %>
- ${3}
<% end %>
View
@@ -1,5 +1,4 @@
if(${1}){
${2}
}else{
- ${3}
}
View
@@ -1,5 +1,4 @@
if (${1:true}) {
${2}
} else {
- ${3}
};
View
@@ -1,6 +1,4 @@
if (${1:/* condition */}) {
${2:// code...}
} else {
- ${3:// code...}
}
-${4}
View
@@ -1,5 +1,4 @@
if ${1:condition}
${2}
else
- ${3}
end
View
@@ -1,4 +1,4 @@
unless ${1:condition}
-else
${2}
+else
end
View
@@ -1,5 +1,4 @@
if ${1}
${2}
else
- ${3}
-endif${4}
+endif

0 comments on commit 7bf4b52

Please sign in to comment.