google / google/vim-maktaba

Be more tolerant about plugin name conflicts

Open
#163 8 comments 0 reactions 0 assignees View on GitHub
Dominant language
Vim Script
Stars
588
Forks
41
PR merge metrics
No merged PRs in 30d

Description

Adding two plugins with the same canonical name to `&rtp` breaks Maktaba's plugin detection completely, reporting e.g.

```
Error detected while processing function maktaba#plugin#Detect[2]..maktaba#plugin#GetOrInstall:
line 11:
E605: Exception not caught: ERROR(AlreadyExists): Conflict for plugin "foo": foo/ and foo.vim/
```

However, it seems like we should be able to deal with this more tolerantly and ignore the second one, not just completely fail.

(The real case I'm looking at is using both https://github.com/junegunn/fzf and https://github.com/junegunn/fzf.vim, which seems reasonable.)

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.