This is the mail archive of the gdb@sourceware.org mailing list for the GDB project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

Re: gdb-7.1 release preparation...


On Thursday 11 March 2010 16:46:01, Jonas Maebe wrote:
> function! GnuIndent()
>   setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1
>   setlocal shiftwidth=2
>   setlocal tabstop=8
> endfunction

I had to modify this function:

function! GNUIndent()                                                                                                                                                                                                                        
        setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,h2,p5,t0,+2,(0,u0,w1,m1                                                                                                                                                                   
        setlocal shiftwidth=2                                                                                                                                                                                                                
        setlocal tabstop=8                                                                                                                                                                                                                   
        setlocal softtabstop=2                                                                                                                                                                                                               
        setlocal noexpandtab                                                                                                                                                                                                                 
        setlocal comments=sl:/*,mb:\ ,elx:*/                                                                                                                                                                                                 
endfunction

-- 
Sérgio Durigan Júnior
Debugger Engineer -- Red Hat Inc.

Attachment: signature.asc
Description: This is a digitally signed message part.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]