vim_db: handle older versions of vim