Change label indent to match project K
[cmccabe-etc] / .vim / indent / cpp.vim
index 6ae6e24..1cad309 100644 (file)
@@ -5,7 +5,7 @@ endif
 source $VIMRUNTIME/indent/cpp.vim
 let b:did_indent = 1
 
-" Linux kernel style indentation
+" Hadoop style indentation
 set sw=2
 set ts=2
 set et
@@ -13,4 +13,7 @@ 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://