Monday, September 19, 2011

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

No comments:

Post a Comment