diff options
author | Jesse Luehrs <doy@tozt.net> | 2009-05-05 01:30:15 -0500 |
---|---|---|
committer | Jesse Luehrs <doy@tozt.net> | 2009-05-05 01:30:15 -0500 |
commit | 08be83609d9b1d2ece5efe7bf01bf58b114b7f61 (patch) | |
tree | 7a374ad647d106311e263f5b0e36f943dd92a9df /vim/after | |
parent | 22b601e619c74e39763b503f12d6576354c08de5 (diff) | |
download | conf-08be83609d9b1d2ece5efe7bf01bf58b114b7f61.tar.gz conf-08be83609d9b1d2ece5efe7bf01bf58b114b7f61.zip |
add perl snippets for if/elsif/else
Diffstat (limited to 'vim/after')
-rw-r--r-- | vim/after/ftplugin/perl_snippets.vim | 12 |
1 files changed, 12 insertions, 0 deletions
diff --git a/vim/after/ftplugin/perl_snippets.vim b/vim/after/ftplugin/perl_snippets.vim index 5e8f936..0b19f58 100644 --- a/vim/after/ftplugin/perl_snippets.vim +++ b/vim/after/ftplugin/perl_snippets.vim @@ -7,6 +7,18 @@ endif source ~/.vim/after/ftplugin/moose_snippets.vim +call Snippet('if', [ + \"if (<{cond}>) {", + \ "<{}>", + \"}"]) +call Snippet('elsif', [ + \"elsif (<{cond}>) {", + \ "<{}>", + \"}"]) +call Snippet('else', [ + \"else {", + \ "<{}>", + \"}"]) call Snippet('for', [ \"for my $<{var}> (<{list}>) {", \ "<{}>", |