I'm writing a really long page to document a compiler and I was thinking that it would be nice if the doxygen highlighting would stick around. Only if I do a search to further down the file, it loses track since the number of line in that one comment is really large (1066 right now).
I have found that you could tell the system to synchronize from the start of the file using:
:syntax sync fromstart
Which works great. Now I was wondering whether I could have that (or maybe define the number of lines?) in the modeline info so that way it works as is each time I open the file.
I also noticed the minlines, but that's also something specific to the syntax and it does not look like I can just write:
This is viewed as an error.
setcommands in a modeline.
setcommands... too bad.