[ale] VIM folding
Mark E. Schill
Mark.Schill at cmschill.net
Sat Apr 27 10:18:37 EDT 2002
I am trying to get folding to work in VIM with no luck. I have gone
through the manual with no luck whatsoever.Its a little confusing.
In this case I am trying to get it to work for conditional statements in
PHP.
According to what I can pull from the manual:
I created a file called ~/.vim/after/php.vim and entered the following
commands:
syn region MyFold start="{" end="}" transparent fold
syn sync fromstart
set foldmethod=syntax
When I do this and edit a php file and enter "zc" or "zC" I get "No fold
found".
Does anyone have any clue how to set this up???
I am using a RedHat VIM 6.0.152 rpm installation.
Thanks,
Mark
---
This message has been sent through the ALE general discussion list.
See http://www.ale.org/mailing-lists.shtml for more info. Problems should be
sent to listmaster at ale dot org.
More information about the Ale
mailing list