Compare commits

...

1 Commits

Author SHA1 Message Date
e745c6ebdf Improve C/C++ intent settings 2018-08-28 11:10:40 +01:00

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