luan / vimfiles

The Vim Configuration. Uses vim-plug to manage plugins.
172 stars 58 forks source link

Check if .git is an existing file or directory #88

Closed mdelillo closed 7 years ago

mdelillo commented 7 years ago

When this repo is a submodule, .git will be a file instead of a directory.

luan commented 7 years ago

Are you submoduling this repo as part of dotfiles or something? I was just curious about the use case.

Thanks @mdelillo

mdelillo commented 7 years ago

Exactly, we're submoduling it so that we only have one repo to pull down.