diff -up vim-perl-support-4.13/perl-support/templates/comments.template.orig vim-perl-support-4.13/perl-support/templates/comments.template
--- vim-perl-support-4.13/perl-support/templates/comments.template.orig 2011-05-05 19:51:04.000000000 +0200
+++ vim-perl-support-4.13/perl-support/templates/comments.template 2011-09-16 09:26:44.877273516 +0200
@@ -39,7 +39,7 @@
#
# USAGE: ./|FILENAME|
#
-# DESCRIPTION: |CURSOR|
+# DESCRIPTION: <CURSOR>
#
# OPTIONS: ---
# REQUIREMENTS: ---
@@ -62,7 +62,7 @@ use warnings;
#
# FILE: |FILENAME|
#
-# DESCRIPTION: |CURSOR|
+# DESCRIPTION: <CURSOR>
#
# FILES: ---
# BUGS: ---
@@ -76,7 +76,7 @@ use warnings;
use strict;
use warnings;
->
+
ยง%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%%
== comment.file-description-t == start == noindent ==
#
@@ -84,7 +84,7 @@ use warnings;
#
# FILE: |FILENAME|
#
-# DESCRIPTION: |CURSOR|
+# DESCRIPTION: <CURSOR>
#
# FILES: ---
# BUGS: ---
@@ -109,7 +109,7 @@ use Test::More tests => 1;
#
# FILE: |FILENAME|
#
-# DESCRIPTION: |CURSOR|
+# DESCRIPTION: <CURSOR>
#
# AUTHOR: |AUTHOR| (|AUTHORREF|), <|EMAIL|>
# COMPANY: |COMPANY|
diff -up vim-perl-support-4.13/plugin/perl-support.vim.orig vim-perl-support-4.13/plugin/perl-support.vim
--- vim-perl-support-4.13/plugin/perl-support.vim.orig 2011-09-16 09:24:03.327761776 +0200
+++ vim-perl-support-4.13/plugin/perl-support.vim 2011-09-16 09:25:26.096023859 +0200
@@ -145,7 +145,7 @@ else
let s:Perl_GlobalTemplateFile = s:Perl_GlobalTemplateDir.'/Templates'
endif
"
- let s:Perl_LocalTemplateFile = s:plugin_dir.'/perl-support/templates/Templates'
+ let s:Perl_LocalTemplateFile = $HOME.'/.vim/perl-support/templates/Templates'
let s:Perl_LocalTemplateDir = fnamemodify( s:Perl_LocalTemplateFile, ":p:h" ).'/'
let s:Perl_CodeSnippets = s:plugin_dir.'/perl-support/codesnippets/'
let s:escfilename = ' \%#[]'
@@ -2481,15 +2481,15 @@ endif
"------------------------------------------------------------------------------
if has("autocmd")
- autocmd BufNewFile *.pl call Perl_InsertTemplate('comment.file-description-pl')
- autocmd BufNewFile *.pm call Perl_InsertTemplate('comment.file-description-pm')
- autocmd BufNewFile *.t call Perl_InsertTemplate('comment.file-description-t')
+ autocmd BufNewFile *.pl silent call Perl_InsertTemplate('comment.file-description-pl')
+ autocmd BufNewFile *.pm silent call Perl_InsertTemplate('comment.file-description-pm')
+ autocmd BufNewFile *.t silent call Perl_InsertTemplate('comment.file-description-t')
autocmd BufRead *.pl call Perl_HighlightJumpTargets()
autocmd BufRead *.pm call Perl_HighlightJumpTargets()
autocmd BufRead *.t call Perl_HighlightJumpTargets()
"
- autocmd BufNewFile *.pod call Perl_InsertTemplate('comment.file-description-pod')
+ autocmd BufNewFile *.pod silent call Perl_InsertTemplate('comment.file-description-pod')
autocmd BufNewFile,BufRead *.t set filetype=perl
"
" Wrap error descriptions in the quickfix window.