Fix vim modelines

Sorry, got it wrong last time. Gave an error on vim startup. There are
basically two types of modelines for vim. One for use with comments
with finishing delimiter (e.g. */) and one for those without (e.g. //)