<div dir="ltr"><div>I am hoping one of you know how to solve my problem with Vim folding.</div><div><br></div>I can fold manually, and via marks.   I cannot get folding to work with syntax.  But I do not like to use either as they are a pain in the neck and not worth the hassle.<div><br></div><div>So in this screenshot:</div><div><br></div><div>:set foldmethod=syntax</div><div><br></div><div>I then move my cursor to a sub</div><div><br></div><div><esc>zf</div><div><br></div><div><img src="cid:ii_15c8cb850a837e42" alt="Inline image 1" width="427" height="544" title="" style=""><br></div><div><br></div><div>My cursor is on line 19 position 0.</div><div><br></div><div>The error message is E350: Cannot create fold with current 'foldmethod'</div><div><br></div><div>I am on Debian Wheezy, </div><div><br></div><div>Linux momentive-webserver 3.2.0-4-amd64 #1 SMP Debian 3.2.88-1 x86_64 GNU/Linux<br></div><div><div>momentive@momentive-webserver:~$ cat /etc/os-release</div><div>PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"</div><div>NAME="Debian GNU/Linux"</div><div>VERSION_ID="7"</div><div>VERSION="7 (wheezy)"</div><div>ID=debian</div><div>ANSI_COLOR="1;31"</div><div>HOME_URL="<a href="http://www.debian.org/">http://www.debian.org/</a>"</div><div>SUPPORT_URL="<a href="http://www.debian.org/support/">http://www.debian.org/support/</a>"</div><div>BUG_REPORT_URL="<a href="http://bugs.debian.org/">http://bugs.debian.org/</a>"</div></div><div><br></div><div>VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar  8 2017 13:44:28)<br></div><div><br></div><div>I have read that Vim has some problems with syntax folding and am wondering if and how you all use syntax folding.</div><div><br></div><div>I have this same problem on my cPanel vm's as well, so I am hoping Julian is ignorant and does not know what he is doing and you all can straighten him out.   :)</div><div><br></div><div>Thanx</div><div><br></div><div>Julian</div></div>