Hi All,
With help from everyone here, when i open an xml file, i make sure that the following have been executed:
:let g:xml_syntax_folding = 1
:set foldmethod=syntax
:set synmaxcol=0
:e
And this has work well and done it for me. Up till now.
I have a longer xml file (2mb) and the syntax folding seems to get confused within an element. When i do a za on one of the elements that is folded, instead of that opening, i get another dash at the beginning of the line, like this:
Before:
+--4471 lines:
after za:
+---4471 lines:
and that continues on for about three more presses of the za sequence, each one adding another '-' to the above line, until the fold opens, but even then it looks confused.
Can anyone provide some other things to look at to explain this? AFAIK, the xml document is valid.
Thanks for any help!
Russ
--~--~---------~--~----~------------~-------~--~----~
You received this message from the "vim_use" maillist.
For more information, visit http://www.vim.org/maillist.php
-~----------~----~----~----~------~----~------~--~---
