compatibility fix for vimperator plugin #3