summaryrefslogtreecommitdiffstats
path: root/vim/after
diff options
context:
space:
mode:
authorJesse Luehrs <doy@tozt.net>2009-05-05 01:30:15 -0500
committerJesse Luehrs <doy@tozt.net>2009-05-05 01:30:15 -0500
commit08be83609d9b1d2ece5efe7bf01bf58b114b7f61 (patch)
tree7a374ad647d106311e263f5b0e36f943dd92a9df /vim/after
parent22b601e619c74e39763b503f12d6576354c08de5 (diff)
downloadconf-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.vim12
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}>) {",
\ "<{}>",