Vim-plug: Plugs with same repo name, but different owners, get overwritten

Created on 25 Jul 2017  路  3Comments  路  Source: junegunn/vim-plug

I'm trying to install two different plugs, where both plugs have different owners but the same repository name. Unfortunately, vim-plug appears to only install the plug closest to the end of the file.

" Snippets
Plug 'SirVer/ultisnips'
Plug 'honza/vim-snippets'
Plug 'nathanielks/vim-snippets'

In this case, nathanielks/vim-snippets is getting installed to ~/.vim/bundle/vim-snippets, but honza/vim-snippets isn't installed at all.


NVIM 0.1.7
Build type: RelWithDebInfo
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -O2 -g -DDISABLE_LOG -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wvla -fstack-protect
or-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -DHAVE_CONFIG_H -I/tmp/neovim-20170411-42072-ewj3px/neovim-0.1.7/build/config -I/tmp/neovim-20170411-42072-ewj3px/neovim-0.1.7/src -I/usr/local/include -I/usr/local/inclu
de -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/include -I/usr/local/opt/gettext/include -I/usr/include -I/usr/include -I/tmp/neovim-20170411-42072-ewj3px/neovim-0.1.7/build/src/nvim/auto -I/tmp/neovim-20170
411-42072-ewj3px/neovim-0.1.7/build/include
Compiled by [email protected]

Optional features included (+) or not (-): +acl   +iconv    +jemalloc +tui
For differences from Vim, see :help vim-differences

   system vimrc file: "$VIM/sysinit.vim"
  fall-back for $VIM: "/usr/local/Cellar/neovim/0.1.7/share/nvim"

  • Type:

    • [x] Bug

    • [ ] Enhancement

    • [ ] Feature Request

    • [ ] Question

  • OS:

    • [ ] All/Other

    • [ ] Linux

    • [x] OS X

    • [ ] Windows

  • Vim:

    • [ ] Terminal Vim

    • [ ] GVim

    • [x] Neovim

question

Most helpful comment

https://github.com/junegunn/vim-plug#plug-options look at the as option.

All 3 comments

https://github.com/junegunn/vim-plug#plug-options look at the as option.

Yes, something like { 'as': 'honza-snippets' } should do.

Huzzah! Thanks!!

Was this page helpful?
0 / 5 - 0 ratings

Related issues

rosstimson picture rosstimson  路  16Comments

go2null picture go2null  路  9Comments

mcandre picture mcandre  路  8Comments

martin-svk picture martin-svk  路  21Comments

alexanderjeurissen picture alexanderjeurissen  路  8Comments