On Wed, 11 Oct 2006 at 1:45pm, [EMAIL PROTECTED] wrote:
[EMAIL PROTECTED] дÓÚ 2006-10-11 12:27:33:
:FoldMatching #ifdef\ _DEBUG #endif 0
The last parameter is a context, so you might like 1 better than 0
(allows you to see what you are folding). Alternatively, you can also
On Tue, 10 Oct 2006 at 12:14pm, Kamil Kisiel wrote:
I've got some C++ source code that I'd like to fold away. Basically I
want vim to have folds only between #ifdef _DEBUG and the
corresponding #endif statement, and nowhere else. My vimfu is a bit
weak in this respect so I'm not quite sure
On 10/11/06, Hari Krishna Dara [EMAIL PROTECTED] wrote:
On Tue, 10 Oct 2006 at 12:14pm, Kamil Kisiel wrote:
I've got some C++ source code that I'd like to fold away. Basically I
want vim to have folds only between #ifdef _DEBUG and the
corresponding #endif statement, and nowhere else. My
[EMAIL PROTECTED] 写于 2006-10-11 12:27:33:
:FoldMatching #ifdef\ _DEBUG #endif 0
The last parameter is a context, so you might like 1 better than 0
(allows you to see what you are folding). Alternatively, you can also
configure the foldtext (see plugin page or the header in the file for
I've got some C++ source code that I'd like to fold away. Basically I
want vim to have folds only between #ifdef _DEBUG and the
corresponding #endif statement, and nowhere else. My vimfu is a bit
weak in this respect so I'm not quite sure how I would go about doing
this. Using foldexpr, changing