summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'app-vim/perl-support/files/perl-support-4.12-local-templates.patch')
-rw-r--r--app-vim/perl-support/files/perl-support-4.12-local-templates.patch11
1 files changed, 11 insertions, 0 deletions
diff --git a/app-vim/perl-support/files/perl-support-4.12-local-templates.patch b/app-vim/perl-support/files/perl-support-4.12-local-templates.patch
new file mode 100644
index 00000000000..9007fd65a34
--- /dev/null
+++ b/app-vim/perl-support/files/perl-support-4.12-local-templates.patch
@@ -0,0 +1,11 @@
+--- plugin/perl-support.vim.orig
++++ plugin/perl-support.vim
+@@ -145,7 +145,7 @@
+ 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 = ' \%#[]'