diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-05-05 00:07:44 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-05-05 00:07:44 -0500 |
commit | d4630244bf3af6be8b4cd053d93b47a29e373cec (patch) | |
tree | 2fdd8a65848fe2251a97c7c3e1e9fa66a01487b0 /vim/after | |
parent | 2ca5400cbe5bafc54f59ddedddcd8dc80c510942 (diff) | |
download | conf-d4630244bf3af6be8b4cd053d93b47a29e373cec.tar.gz conf-d4630244bf3af6be8b4cd053d93b47a29e373cec.zip |
make the perl snippets file load the moose snippets
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/ftplugin/perl_snippets.vim | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/vim/after/ftplugin/perl_snippets.vim b/vim/after/ftplugin/perl_snippets.vim index 8d8de23..85f7367 100644 --- a/vim/after/ftplugin/perl_snippets.vim +++ b/vim/after/ftplugin/perl_snippets.vim @@ -6,6 +6,8 @@ let st = g:snip_start_tag let et = g:snip_end_tag let cd = g:snip_elem_delim +source ~/.vim/after/ftplugin/moose_snippets.vim + exec "Snippet sub sub ".st."FunctionName".et." {<CR>".st.et."<CR>}<CR>".st.et exec "Snippet class package ".st."ClassName".et.";<CR><CR>".st.et.st."ParentClass".et.st.et.";<CR><CR>sub new {<CR>my \$class = shift;<CR>\$class = ref \$class if ref \$class;<CR>my $self = bless {}, \$class;<CR>\$self;<CR>}<CR><CR>1;<CR>".st.et exec "Snippet xfore ".st."expression".et." foreach @".st."array".et.";".st.et |