Re: A question on coding conventions

2011-03-26 Thread Michael Matz
Hi, On Sat, 26 Mar 2011, Levon Haykazyan wrote: > I was trying to configure vim to work better with gcc coding > conventions. When I set 'tab' symbol to be interpreted as 2 spaces, I > noticed that a lot of formatting in e.g. gcc/cp/parser.c was gone. Yeah, never change tabstop, change shiftwi

A question on coding conventions

2011-03-26 Thread Levon Haykazyan
Hi everybody, I was trying to configure vim to work better with gcc coding conventions. When I set 'tab' symbol to be interpreted as 2 spaces, I noticed that a lot of formatting in e.g. gcc/cp/parser.c was gone. A bit of research showed that in a lot of places 'tab' was used for 8 spaces. I've