Friday, September 9, 2011

Re: reload syntax file without restarting vim

On 09/09/11 22:26, cyboman wrote:
> sometimes i need to make modifications to the syntax file but in order
> for changes to take effect i need to restart vim. is it possible for
> changes to take effect without a restart? does anybody know how to do
> it?
>
> any help is appreciated
>

Depending on exactly what you want to do, one of the following should work:

:syntax enable

:syntax on

:syntax off | syntax on

see :help :syn-qstart


Best regards,
Tony.
--
You will lose your present job and have to become a door to door
mayonnaise salesman.

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