Re: Synchronize syntax highlighting

Tim Chase <[email protected]>
Newsgroups gmane.editors.vim
Message-ID <[email protected]>
On 2026-08-09 10:48, Janis Papanagnou wrote:
> Sometimes, for some files, the sync of syntax-highlighting fails
> (i.e. all text gets uniformly colored).
> 
> In the past, to tackle that, I've adjusted some vim parameter,
> increased a value from something like 3000 to 10000, or so.
> On my new system that setting got lost, unfortunately, and I
> cannot find it.

I think you're looking for the minlines= and maxlines= values described
here:

  :help syn-sync-maxlines
  :help syn-sync-third

-tim
-- 





-- 
-- 
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 [email protected].
To view this discussion visit https://groups.google.com/d/msgid/vim_use/aniHL3avVmnNL3nP%40thechases.com.
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.