Saluton <r...@verizon.net> :)

<r...@verizon.net> dixit:
> My xml files are of a form:
>
> <userDoc> <GenSection> ... </GenSection> </userDoc>
>
> When i did the syntax folding on a sample, albeit large (1.8 Mb) xml
> file, the closing </userDoc> tag seems to be folded in the
> <GenSection> fold. Everything, however, works when i try this on a
> smaller sample file. Is there something about the xml syntax file that
> might explain this?

Blind shot, from ":help syntax":

:syntax sync fromstart
:syntax syng minlines=<number big enough>

The second line may result in very slow redrawing and highlighting, I
haven't tested it.

I swear I saw once an option to fix this kind of things, but I cannot
remember. Looks like Charles Campbell has updated the conversation while
I was replying, so he may be of help.

-- 
Raúl "DervishD" Núñez de Arenas Coronado
Linux Registered User 88736 | http://www.dervishd.net
It's my PC and I'll cry if I want to... RAmen!

--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---

Reply via email to