From 69a7b03b708b71feb1743cfeaa635d7443522e43 Mon Sep 17 00:00:00 2001 From: Colin Patrick Mccabe Date: Sun, 10 Mar 2013 20:30:57 -0700 Subject: [PATCH] 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 --- .vim/indent/cpp.vim | 5 ++++- 1 files changed, 4 insertions(+), 1 deletions(-) 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:// -- 1.6.6.rc1.39.g9a42