Do not use some features in old Vims as they cause a crash

Fixes #997
Closes #999