Heefan wrote:
> How do I fold the if in following code? I typed 'zc' but it
> folded all main function.
If filetype is cpp (or c) and foldmethod is syntax, you should
be able to use zc to close an if(){...} block (or za to toggle
it open/closed).
When viewing the cpp file, what is the output fro
Hi John,
Thanks for your time and guidance.
I have checked the settings which you mentioned. And reboot my linux, it
works.
Thanks.
One more question about folding #ifdef #endif. Any method can do this?
Thanks & Rgs
heefan
On Tue, Oct 19, 2010 at 6:02 AM, John Beckett wrote:
> Heefan wrote