On Fri, Aug 30, 2019 at 2:31 PM Alexander Monakov <amona...@ispras.ru> wrote: > > > > On Fri, 30 Aug 2019, Richard Biener wrote: > > > On Fri, Aug 30, 2019 at 12:58 PM Martin Liška <mli...@suse.cz> wrote: > > > > > > Hi. > > > > > > I would like to add .pd to c_exts so that one > > > can have correctly set tab width, etc. > > > > But then it will auto-indent with too much spaces, no? > > I think it's fine, the script does > > setlocal cindent > setlocal cinoptions=>4,n-2,{2,^-2,:2,=2,g0,f0,h2,p4,t0,+2,(0,u0,w1,m0 > > so it's a bit smarter than indenting everything by 2 spaces :) > > So +1 from me for the patch, but note that now we have a contrib/vim-gcc-dev > "plugin" directory, it might be more natural to add gcc-match indent rules > there.
Yeah, that would be better than claiming .pd is C ... Richard. > > Alexander