Fixes http://youtrack.jetbrains.com/issue/VIM-287