there are in fact four main methods available for indentation,each one overrides the previous if it is enabled, or non-empty for 'indentexpr'
- autoindent
- smartindent
- cindent
- indentexpr
indentexpr > cindent > smartindent > autoindent
设置c++中public,private,protected关键字的缩进
:set cinoptions+=g0