I've got set formatoptions=cqn
in my vimrc
, but for some reason it doesn't stick. It seems like Vim is reverting to the default (fo=tcq
) at some point… But I can't figure out why. Running -V100/tmp/log
just gives me:
formatoptions=tcq Last set from ~/.vimrc
With no useful context.
So, is there any way to make formatoptions stick? Or do I just need to create an autocmd to reset it each time a new file is loaded?
Edit
Using :verbose set formatoptions
shows this:
formatoptions=tcq Last set from ~/.vimrc
However, the only reference to fo
or formatoptions
in my ~/.vimrc is set formatoptions+=cqn
.