Depending on the size/number of folds in a vimwiki file the syntax highlight
doesn't works, i.e., after opening a wiki file and opening one of the
bottommost fold it can be noticed that there is no highlight.
This behavior is explained on vim faq 24.8:
http://vimhelp.appspot.com/vim_faq.txt.html#faq-14.13
After some tests I found that including the following line near the end of
syntax/vimwiki.vim solves the problem without adding any noticeable performance
hit:
syntax sync minlines=200
I couldn't find any other attempt to perform sintax sync on the plugin. As this
synchronization can't be changed from modelines, I think the syntax file is the
way to go.
Original issue reported on code.google.com by marcmo...@gmail.com on 10 Dec 2013 at 6:07
Original issue reported on code.google.com by
marcmo...@gmail.com
on 10 Dec 2013 at 6:07