Monday, May 14, 2018

Re: Putting syntax sync fromstart in ~/.vimrc

> Another is using an autocommand to run the command automatically after
> the syntax changes
>
> :au Syntax * syntax sync fromstart
>
> This command must be in your vimrc after the syntax highlighting is
> turned on, or it will happen before the syntax change still!

I'm trying it, but this is do not work for me. Syntax is showed incorrectly still. Syntax is repaired after manual comand :synatx sync fromstart.

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

---
You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to vim_use+unsubscribe@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

No comments: