Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with
or
.
Download ZIP
Browse files

Override do- block to avoid to*do* expanding. Does not work

  • Loading branch information...
commit 97a4683f19ef8863affbf6bc02c9a3ff70fed641 1 parent 0069cc1
Bèr Kessels authored
Showing with 9 additions and 0 deletions.
  1. +9 −0 UltiSnips/ruby.snippets
View
9 UltiSnips/ruby.snippets
@@ -8,6 +8,15 @@ module ${1:ModuleName}
end
endsnippet
+###########################################################################
+# Override #
+###########################################################################
+snippet do "do |<key>| ... end" !
+do ${1:|${2:key}|}
+ $0
+end
+endsnippet
+
###########
# RSPEC #
###########
Please sign in to comment.
Something went wrong with that request. Please try again.