Add compatibility for gvim