Hi, I've managed to use syntax folding for vim C/C++ files adding:
syn region CurlyFold start="{" end="}" transparent fold syn sync fromstart set foldmethod=syntax set fdc=1 to /usr/share/vim/vim63/syntax/c.vim. This will fold / unfold everything between '{' and '}'. This failes if I try to fold everything between '(' and ')', '[' and ']' '#if' and '#endif' too. Does anyone know if it is possible to have more than one pair of fold region delimiters at a time? Thanks in advance Frank -- gentoo-user@gentoo.org mailing list