Closed kevin-f-ortega closed 2 years ago
Closing this one for now. I think vim has bugs. Indentation is supposed to be handled according to cinoptions:
http://vimdoc.sourceforge.net/htmldoc/indent.html
In particular, the default indentation is supposed to follow the existing shift width. Instead it seems to go to 6 characters. Setting the shift width to 2 (a) should not be necessary and (b) does not have the desired effect on my system.
these lines are needed to avoid vim from indenting 8 spaces. Instead, vim will indent by 2 spaces. Also, tabs will be treated as 2 spaces