s/$orig/<{$next}>/ :)
[gitmo/moose-dev-utils.git] / vim / moose_snippets.vim
index 50aa99f..7b35cf5 100644 (file)
@@ -1,5 +1,5 @@
 " See http://www.vim.org/scripts/script.php?script_id=1318
-" Written by Sartak, feel free to add your own!
+" Written by Sartak and doy, feel free to add your own!
 
 if !exists('loaded_snippet') || &cp
     finish
@@ -71,7 +71,7 @@ call Snippet('sub', [
             \"}"])
 call Snippet('around', [
             \"around <{name}> => sub {",
-            \    "my $orig = shift;",
+            \    "my $<{next}> = shift;",
             \    "my $self = shift;",
             \    "<{}>",
             \"};"])