Tab Width

From openSUSE

There is a distinction between the Tab character and the Tab key.

Basics

Indentation depends on the project (2 for Libzypp):

set shiftwidth=2          (vim)
(setq c-basic-offset 2)   (Emacs)

Tab width must be 8:

 set tabstop=8            (vim)
 (setq tab-width 8)       (Emacs)

See Also