[pm-h] Vim folding
Julian Brown
jlbprof at gmail.com
Fri Jun 9 05:05:18 PDT 2017
I am hoping one of you know how to solve my problem with Vim folding.
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.
So in this screenshot:
:set foldmethod=syntax
I then move my cursor to a sub
<esc>zf
[image: Inline image 1]
My cursor is on line 19 position 0.
The error message is E350: Cannot create fold with current 'foldmethod'
I am on Debian Wheezy,
Linux momentive-webserver 3.2.0-4-amd64 #1 SMP Debian 3.2.88-1 x86_64
GNU/Linux
momentive at momentive-webserver:~$ cat /etc/os-release
PRETTY_NAME="Debian GNU/Linux 7 (wheezy)"
NAME="Debian GNU/Linux"
VERSION_ID="7"
VERSION="7 (wheezy)"
ID=debian
ANSI_COLOR="1;31"
HOME_URL="http://www.debian.org/"
SUPPORT_URL="http://www.debian.org/support/"
BUG_REPORT_URL="http://bugs.debian.org/"
VIM - Vi IMproved 7.3 (2010 Aug 15, compiled Mar 8 2017 13:44:28)
I have read that Vim has some problems with syntax folding and am wondering
if and how you all use syntax folding.
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. :)
Thanx
Julian
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.pm.org/pipermail/houston/attachments/20170609/afb13df0/attachment-0001.html>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: Screen Shot 2017-06-09 at 6.58.05 AM.png
Type: image/png
Size: 203171 bytes
Desc: not available
URL: <http://mail.pm.org/pipermail/houston/attachments/20170609/afb13df0/attachment-0001.png>
More information about the Houston
mailing list