for the following modeline, folds do not work. if i change filetype to vim, folds do work as expected. for me,the last known working version was patchlevel 1257. patchlevels 1297-1301 also do not work as expected. this seems to be platform independent: i've checked osx 10.11.3, mint 17.3, windows 10, ubu 15.10.

the modeline i typically use is:

#-vim-modeline 
vim:fenc=utf-8:foldmarker={{{{,}}}}:foldmethod=marker:ft=zsh:nocrb:noscb:nowrap:sw=4:syn=on:ts=4:tw=0:wm=0

i admit to git-ignorance. if someone would be kind enough to give me a quick command line to pull a specific patchlevel, i volunteer to find first occurrence of this regression.

Raspunde prin e-mail lui