Fix vim error when open files in git submodule