vimPlugins: do not pick up aliases from nixpkgs

This commit is contained in:
Jörg Thalheim
2018-09-12 07:51:03 +01:00
parent 4daba543aa
commit ac415ca68e
3 changed files with 76 additions and 74 deletions

View File

@@ -139,6 +139,7 @@ def prefetch_plugin(user: str, repo_name: str, cache: "Cache") -> Plugin:
has_submodules = repo.has_submodules()
cached_plugin = cache[commit]
if cached_plugin is not None:
cached_plugin.name = repo_name
cached_plugin.date = date
return cached_plugin