From: Colin Patrick Mccabe Date: Mon, 11 Mar 2013 03:30:57 +0000 (-0700) Subject: cpp.vim: continue C++-style doxygen comments X-Git-Url: http://club.cc.cmu.edu/~cmccabe/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=69a7b03b708b71feb1743cfeaa635d7443522e43;p=cmccabe-etc cpp.vim: continue C++-style doxygen comments * continue C++-style doxygen comments * two-space indentation is Hadoop-style, not Linux kernel style. Signed-off-by: Colin McCabe --- diff --git a/.vim/indent/cpp.vim b/.vim/indent/cpp.vim index 6ae6e24..bf5fbb0 100644 --- a/.vim/indent/cpp.vim +++ b/.vim/indent/cpp.vim @@ -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 @@ -14,3 +14,6 @@ set et set tw=80 set cinoptions=:0,l1,t0,g0,(0 " C-Indent options: Linux-kernel style + +" We want to continue C++-style doxygen comments (i.e., the ///) +set comments=sO:*\ -,mO:*\ \ ,exO:*/,s1:/*,mb:*,ex:*/,bO:///,O://