X-Git-Url: http://git.shadowcat.co.uk/gitweb/gitweb.cgi?a=blobdiff_plain;f=vim%2Fmoose_snippets.vim;h=7b35cf5df1729dbdb7f3f881396d6e8c9bde23ac;hb=babbac0629b4859b0b1ca58f9159c52a14fb01c4;hp=50aa99fba07378a01ae05432f371f0dee7c02771;hpb=f93358a2f9a3bca29868c74af9f3dff56ff8cf6d;p=gitmo%2Fmoose-dev-utils.git diff --git a/vim/moose_snippets.vim b/vim/moose_snippets.vim index 50aa99f..7b35cf5 100644 --- a/vim/moose_snippets.vim +++ b/vim/moose_snippets.vim @@ -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;", \ "<{}>", \"};"])