aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.vimrc1
1 files changed, 1 insertions, 0 deletions
diff --git a/.vimrc b/.vimrc
index 89dfe30..d56636b 100644
--- a/.vimrc
+++ b/.vimrc
@@ -379,6 +379,7 @@ fun! s:settings_c()
setlocal shiftwidth=4
setlocal tabstop=4
setlocal softtabstop=4
+ setlocal cinoptions=:0,(s,m1,U1
"mappings
"note: these mappings are in weird reverse order to avoid opening folds
nnoremap <buffer> -- O<Space>*/<Esc>hhi/*<Space>