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.