Drop buffer variable during detection

This way the variable is only set for successfully detected projects.
Disable modelines on all Vim versions