Check vim version before using undo features