Sunday, May 2, 2010

Re: Problem with VIM syntax coloring

On 02/05/10 00:37, Peter Vanderhaden wrote:
> Tony,
> Thanks for the tip! I put the syn braces into the java.vim file, and it works perfectly!
> Peter V.

Beware that you should NEVER change ANYTHING in the $VIMRUNTIME
directory tree (i.e. in the $VIMRUNTIME directory or under it at any
depth), because any update may, and one of them sooner or later is bound
to, remove your changes without any warning.

If you want to modify a Vim plugin, first copy it to the same
subdirectory of some directory early in 'runtimepath' (possibly creating
one or more directories in the process) and apply your changes there.
Any "well-behaved" plugin has an :if near the start, with a :finish in
it, to avoid being run twice (or, for a non-global plugin, twice for the
same editfile).


Best regards,
Tony.
--
Join the march to save individuality!

--
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