Improve C/C++ intent settings

This commit is contained in:
Kenneth Benzie 2018-08-28 11:09:23 +01:00
parent 5f7ba84ce6
commit e745c6ebdf

View File

@ -17,7 +17,7 @@ if has('cindent')
" * g1 - indent scope declarations {public,private,protected} 1 space
" * h1 - indent statements after scope declarations 1 space more
" * l1 - indent case statement scopes with the case label
" * (0 - don't indent inside unclosed parenthesis
" * i4 - indent C++ class base declarations and constructor initializers
set cinoptions=N-sE-sg1h1l1(01i2
" * (0,W4 - indent inside unclosed parenthesis
" * i2 - indent C++ class base declarations and constructor initializers
set cinoptions=N-sE-sg1h1l1(0,W4i2
endif