Tuesday, February 24, 2015

Re: Enable Syntax on Xml Large File only on drawed window

On 2015-02-24, Ben Fritz wrote:
> On Tuesday, February 24, 2015 at 9:24:34 AM UTC-6, Ni Va wrote:
> > Hi,
> >
> > After applying this
> > http://vim.wikia.com/wiki/Faster_loading_of_large_files, my big
> > xml file is quick loaded.
> >
> > Then how can I set syn=xml only for drawed part of file in order
> > to be as fast as possible to view colored part of file?
> >
> > Thank you
>
> You can't enable syntax highlighting for only part of a file.
> Syntax highlighting always applies to the entire file.

You can change where syntax synchronization starts, though, which
might help. See

:help :syn-sync

Regards,
Gary

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

Post a Comment