Friday, August 27, 2010

Re: Suppressing function already exist warnings ?

Ответ на сообщение «Suppressing function already exist warnings ?»,
присланное в 13:03:34 27 августа 2010, Пятница,
отправитель Aaron Lewis:

You could add bang (`!') just after ``function'' command, so the functions will
get redefined if they already exist, see ``:h E122''.

Текст сообщения:
> Hi,
> I've defined couples of functions inside ~/.vimrc , everytime i modify
> it , and command source ~/.vimrc will complains about duplicate functions.
>
> How could i suppress such kind of warnings , and i need to replace
> functions that already exists.
>
> Many Thanks !

No comments: