Change label indent to match project K
[cmccabe-etc] / .vim / indent / cpp.vim
index cb80567..1cad309 100644 (file)
@@ -5,12 +5,15 @@ endif
 source $VIMRUNTIME/indent/cpp.vim
 let b:did_indent = 1
 
-" Linux kernel style indentation
-set sw=8
-set ts=8
-set noet
+" Hadoop style indentation
+set sw=2
+set ts=2
+set et
 
 " 80 column limit
 set tw=80
 
-set cinoptions=:0,l1,t0,g0,(0   " C-Indent options: Linux-kernel style
+set cinoptions=:0,L1,l1,t0,g0,(0
+
+" We want to continue C++-style doxygen comments (i.e., the ///)
+set comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,bO:///,O://