Improve C/C++ intent settings
This commit is contained in:
parent
5f7ba84ce6
commit
e745c6ebdf
@ -17,7 +17,7 @@ if has('cindent')
|
|||||||
" * g1 - indent scope declarations {public,private,protected} 1 space
|
" * g1 - indent scope declarations {public,private,protected} 1 space
|
||||||
" * h1 - indent statements after scope declarations 1 space more
|
" * h1 - indent statements after scope declarations 1 space more
|
||||||
" * l1 - indent case statement scopes with the case label
|
" * l1 - indent case statement scopes with the case label
|
||||||
" * (0 - don't indent inside unclosed parenthesis
|
" * (0,W4 - indent inside unclosed parenthesis
|
||||||
" * i4 - indent C++ class base declarations and constructor initializers
|
" * i2 - indent C++ class base declarations and constructor initializers
|
||||||
set cinoptions=N-sE-sg1h1l1(01i2
|
set cinoptions=N-sE-sg1h1l1(0,W4i2
|
||||||
endif
|
endif
|
||||||
|
Loading…
x
Reference in New Issue
Block a user