You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If your ~/.vim/plugged or similar is contained in another repo (for example, a dotfiles repo); and you've added the plugins as submodules in order to track their updates in that repo; then you may want to use git submodule absorbgitdirs.
If you do that, Vim-Plug will break because absorbgitdirs replaces the .git/ directory with a flat file containing a path like ../../.git/modules/some-plugin/, but Vim-Plug explicitly references a folder in the command git config -f .git/config remote.origin.url.
The existing pull request #858 would fix this, among the other issues it would fix (#470, #834). This issue is opened in support of that PR, and as a record for other troubleshooters.
NVIM v0.3.8
Build type: Release
LuaJIT 2.0.5
Compilation: /usr/local/Homebrew/Library/Homebrew/shims/mac/super/clang -Wconversion -U_FORTIFY_SOURCE -D_FORTIFY_SOURCE=1 -DNDEBUG -DMIN_LOG_LEVEL=3 -Wall -Wextra -pedantic -Wno-unused-parameter -Wstrict-prototypes -std=gnu99 -Wimplicit-
fallthrough -Wvla -fstack-protector-strong -fdiagnostics-color=auto -DINCLUDE_GENERATED_DECLARATIONS -D_GNU_SOURCE -DNVIM_MSGPACK_HAS_FLOAT32 -DNVIM_UNIBI_HAS_VAR_FROM -I/tmp/neovim-20190704-11886-1ukicoc/neovim-0.3.8/build/config -I/tmp/
neovim-20190704-11886-1ukicoc/neovim-0.3.8/src -I/usr/local/include -I/usr/local/opt/gettext/include -I/Applications/Xcode.app/Contents/Developer/Platforms/MacOSX.platform/Developer/SDKs/MacOSX10.14.sdk/usr/include -I/tmp/neovim-20190704-
11886-1ukicoc/neovim-0.3.8/build/src/nvim/auto -I/tmp/neovim-20190704-11886-1ukicoc/neovim-0.3.8/build/include
Compiled by [email protected]
Features: +acl +iconv +jemalloc +tui
See ":help feature-compile"
system vimrc file: "$VIM/sysinit.vim"
fall-back for $VIM: "/usr/local/Cellar/neovim/0.3.8/share/nvim"
Run :checkhealth for more info
Type:
Bug
Enhancement
Feature Request
Question
OS:
All/Other
Linux
OS X
Windows
Vim:
Terminal Vim
GVim
Neovim
The text was updated successfully, but these errors were encountered:
I use stow + Github to synchronize my dotfiles. The .vim/plugged/ is thus inside a git repo and the vim command PlugInstall fails to resolve the Github url. I install plugins with git submodule add under this directory and later it works fine with both PlugUpdate in vim and git submodule update for git.
Just a question: how can we modify the vim-plug script to auto select git clone or git submodule add for PlugInstall command? Thanks for your attention.
If your
~/.vim/plugged
or similar is contained in another repo (for example, a dotfiles repo); and you've added the plugins as submodules in order to track their updates in that repo; then you may want to usegit submodule absorbgitdirs
.If you do that, Vim-Plug will break because
absorbgitdirs
replaces the.git/
directory with a flat file containing a path like../../.git/modules/some-plugin/
, but Vim-Plug explicitly references a folder in the commandgit config -f .git/config remote.origin.url
.The existing pull request #858 would fix this, among the other issues it would fix (#470, #834). This issue is opened in support of that PR, and as a record for other troubleshooters.
The text was updated successfully, but these errors were encountered: