Two space indentation displays incorrectly in diff

Daniel Gerzo danger at FreeBSD.org
Mon Oct 8 05:15:15 UTC 2007


Hello Max,

Monday, October 8, 2007, 5:41:26 AM, you wrote:

>> I am stumped as to why this occurs or how to fix it.

> Obviously vim in converting the 8 spaces into one tab.  When displayed
> this turns into "indentation to the first tabstop (=8)" which means only
> and indentation of 7 is visible (deducting the plus sign).

> I don't know how to teach vim not to do the conversion and I don't know if
> that might even be the right formatting, but I hope this helps.

Replacing the 8 spaces with a tab is correct way to do it.

-- 
Best regards,
 Daniel                            mailto:danger at FreeBSD.org




More information about the freebsd-doc mailing list