Just yesterday I noticed the following strange issue in vim. This is how it looks like and how can be reproduced: I open a properly formed and correct file, scroll it down to the very end. While I'm scrolling up I can see that highlighting is already not working properly at some blocks of code. It seems that vim is skipping some part of file and is parsing text and doing highlighting not from the very beginning (optimizations?).
I've seen this issue with CMake files and my own syntax files but no one of them contains the "display" option for regions or matches that (as I know) may cause such a problem. Is there anything tricky in how vim actually performs file parsing? May it really start parsing not from the beginning of a file? What can be done to ensure any file is highlighted properly at any time? -- 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
