Now you might wonder "Why on earth would anyone set 'compatible' in 2021?". Good question. A likely scenario is when starting Vim without a vimrc, for example with vim -u NONE. Without a vimrc, 'compatible' is set by default. So doing something like this this gives an error:
See https://github.com/vim/colorschemes/issues/55:
When
'compatible'
is set,'cpoptions'
containsC
and according to:help 'cpoptions'
:Therefore, when sourcing a color scheme file, lines like these throw an error:
Now you might wonder "Why on earth would anyone set
'compatible'
in 2021?". Good question. A likely scenario is when starting Vim without a vimrc, for example withvim -u NONE
. Without a vimrc,'compatible'
is set by default. So doing something like this this gives an error: