Hello,

I have a problem when indenting C comments(cindent)
I would like to have (I must fit to my company's
coding rules):
/*
    This is the comment
*/

But with cindent, I get : 
/*
    This is the comment
    */

==> My */ is at the same indent level as the body.

What should I set in gvim?

currently I use : 
set cino=c4  
setlocal comments=sO:*\ -,mO:*\ \
,exO:*/,sl:/*,mb:*,elx:*/,://


Thanks for your help

Jerome




        

        
                
___________________________________________________________________________ 
Yahoo! Mail réinvente le mail ! Découvrez le nouveau Yahoo! Mail et son 
interface révolutionnaire.
http://fr.mail.yahoo.com

Reply via email to