I'm trying to wrap my head around vim plugin development and I see a constant check on a variable to see if the plugin has already been loaded like:
if exists('g:loaded_plugin') || &cp finish endif
This makes sense since it's trying to not load the plugin twice but why is it checking the second part?
I've searched on the documentation on the
& and the
cp command and it's not ringing anything on my head. As said in the documentation, the
& is used to replay the last substitution command and the
cp is to get to the next Error.