Signed-off-by: Colin McCabe <cmccabe@alumni.cmu.edu>
set ts=8
set noet
-" 100 column limit
-set tw=100
+" 80 column limit
+set tw=80
-set cinoptions+=g2h2:2=2t0(0
+set cinoptions=:0,l1,t0,g0,(0 " C-Indent options: Linux-kernel style
source $VIMRUNTIME/indent/cpp.vim
let b:did_indent = 1
-" ceph style tabs
-set tabstop=8
-set softtabstop=2
-set shiftwidth=2
-set noexpandtab
+" Linux kernel style indentation
+set sw=8
+set ts=8
+set noet
-" Traditional cpp four-space indentation
-"set sw=4
-"set ts=4
-"set et
-
-" 100 column limit
-set tw=100
-
-set cinoptions+=g2h2:2=2t0(0
+" 80 column limit
+set tw=80
+set cinoptions=:0,l1,t0,g0,(0 " C-Indent options: Linux-kernel style