I’ve always been under the impression that mixing tabs and spaces kills puppies, but the style guide for FreeBSD style(9), OpenBSD and others says:
I’ve been awake all night because of this one line! Am I reading this right? A tab character for the first level, then four spaces thereafter. That’s obviously what it says.
I’ve always used expandtab in Vim to insert spaces with the tab key as not to repeatedly mash the spacebar. Is there a way to configure Vim to insert tabs and spaces in the correct places? My fiddling with things like tabstop and shiftwidth hasn’t been very effective. Maybe it will all be clear after sleep and coffee.
Code:
Indentation is an 8 character tab. Second level indents are four spaces.
I’ve been awake all night because of this one line! Am I reading this right? A tab character for the first level, then four spaces thereafter. That’s obviously what it says.
I’ve always used expandtab in Vim to insert spaces with the tab key as not to repeatedly mash the spacebar. Is there a way to configure Vim to insert tabs and spaces in the correct places? My fiddling with things like tabstop and shiftwidth hasn’t been very effective. Maybe it will all be clear after sleep and coffee.