hi all:

i am trying to setup folding for c code in gvim
i put this in my .vimrc
augroup C
    au FileType c set foldenable foldmethod=syntax
    au FileType c syn region Comment start="/\*" end="\*/" fold
augroup END

but when i open a c file the syntax hiligth is ok but the folding does't
work...
for other filetypes like .diff it works ok

my version is vim-gtk (6.2-532+4)


thanks

-- 
Alex Lorca


-- 
To UNSUBSCRIBE, email to [EMAIL PROTECTED] 
with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

Reply via email to