The real offender:
:set cindent
enables indenting but doesn't set the "autoindent enabled for this buffer" flag. Probably a result of C being "special" in vim.
The real offender:
:set cindent
enables indenting but doesn't set the "autoindent enabled for this buffer" flag. Probably a result of C being "special" in vim.