When I use auto indent in vim, it almost working correctly, but in C++ 's enum, it have some problem like this:
It should be like this:
My indent settings:
set expandtab
set tabstop=4
set smartindent
set autoindent
set shiftwidth=2
set softtabstop=4
.vimrc
other than these indent settings? – James Sep 29 '17 at 16:32