Either I misread your question when I gave my first answer, or your editing changed the question drastically.
Short answer: remove the line
:set nocompatible
from your vimrc file.
Here are a few relevant lines from :help 'compatible'
:
This is a special kind of option, because when it's set or reset,
other options are also changed as a side effect. ...
When a |vimrc| or |gvimrc| file is found while Vim is starting up,
this option is switched off, and all options that have not been
modified will be set to the Vim defaults. ...
That means that :set nocompatible
at the start of a vimrc file is redundant. Also, the bit about "all options that have not been set" only applies to the automatic effect of finding a vimrc file, not to when you set or reset the option.
As I said in my previous answer, the 'formatoptions'
option is the one that is bothering you; this is one of the many options affected by the 'compatible'
option.