> Date: Mon, 19 Sep 2011 23:57:38 +0400 > From: [email protected] > To: [email protected] > Subject: Re: Perl Support - Turn off perl header block creation for new files > > On Mon, Sep 19, 2011 at 11:05:11PM +0400, ZyX wrote: > > In reply to ``Re: Perl Support - Turn off perl header block creation for > > new > > files'' > > sent 19 September 2011, Monday by Ivan Oreshnikov > > > > > You can edit template in ~/.vim/perl-support/templates/Templates file. > > How can I handle the situation when templates file is located in the > > /usr/share/vim/vimfiles/perl-support/templates/Templates and I can't edit > > this > > (in fact I never want to edit plugins, it is a very bad practise as you > > loose > > the simplest way to update them). > > According to :help perl-support (paragraph 4.6): > > You can also have local templates which overwrite the global ones. To > > suppress > > the messages in this case set a global variable in '~/.vimrc' (Windows: > > '~\_vimrc') : > > > > let g:Perl_TemplateOverwrittenMsg= 'no' > > > > The default is 'yes'. > > -- > You received this message from the "vim_use" maillist. > Do not top-post! Type your reply below the text you are replying to. > For more information, visit http://www.vim.org/maillist.php Thanks/ I tried your suggestiont but it made no difference.I finally found where the template is being invoked and commented it out. It is in ...\vimfiles\plugin\perl-support.vim (line 2499). I commented thisline plus the next few lines which invoke templates for modules, pod, etc.and the problem has gone away. Thanks again for your research and input.
-- You received this message from the "vim_use" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php
