Re: [PATCH v3 1/3] diff-highlight: add some tests.
- From
- Eric Wong <e@80x24.org>
- Date
- Aug 19, 2016, 20:56 UTC
- Message-ID
- <20160819205641.GA31393@dcvr>
- In-Reply-To
- <20160819193045.GA9262@tci.corp.yp.com>
Brian Henderson <henderson.bj@gmail.com> wrote:
Show 10 quoted lines
> On Fri, Aug 19, 2016 at 11:10:55AM -0700, Junio C Hamano wrote: > > > > > +# vim: set noet > > > > We tend to avoid cluttering the source with editor specific insns > > like this. > > oops. > > Anyone have any suggestions for project level vim settings?
vim defaults work fine for me on FreeBSD and Debian:
tabstop=8 shiftwidth=8 softtabstop=0 noexpandtab
Generally, we take after the Linux kernel:
https://kernel.org/doc/Documentation/CodingStyle
Which I'm happy about and largely agree with.