Verified function working in .vimrc, now back in plugin