Giter Site home page Giter Site logo

Git SubModules about vim-plug HOT 6 CLOSED

junegunn avatar junegunn commented on August 19, 2024
Git SubModules

from vim-plug.

Comments (6)

vheon avatar vheon commented on August 19, 2024

I have a slightly different declaration for YCM:

function! YCMInstall(info)
  if a:info.status == 'installed' || !pyeval( 'base.CompatibleWithYcmCore()')
    !./install.sh --clang-completer
  endif
endfunction
Plug 'Valloric/YouCompleteMe', { 'do': function('YCMInstall') }

I'm testing reinstalling YCM right now. As soon as is finished I'll tell you if there were some problem. (And as soon as I can I will try to test the !pyeval( 'base.CompatibleWithYcmCore()' part )

from vim-plug.

junegunn avatar junegunn commented on August 19, 2024

vim-plug does that submodule thing on update, it was actually added because of the request from a user of YCM. @vheon, thanks for doing the test! Did you have any issue? (I'm currently on an old MacBook which will suffer if I tried to install YCM.)

from vim-plug.

junegunn avatar junegunn commented on August 19, 2024

I just added Plug 'Valloric/YouCompleteMe', { 'do': './install.sh' } and tried :PlugInstall, and I didn't run into any error.

I suggest that you try the bang-version of the command so that the install script is executed even when the plugin is not updated:

:PlugUpdate! YouCompleteMe

from vim-plug.

vheon avatar vheon commented on August 19, 2024

I'm actually having trouble installing it from scratch but is my shitty internet connection 😢 As soon as I test it correctly I will report if I had some real trouble connected to vim-plug.

from vim-plug.

junegunn avatar junegunn commented on August 19, 2024

To summarize:

  • vim-plug already does git submodule update --init --recursive on installation/update
  • To retry: :PlugUpdate! YouCompleteMe

from vim-plug.

reilg avatar reilg commented on August 19, 2024

Just wanted to point out that this is still an issue it seems.

Installing or updating from did not work for me.
It showed an error that a bundle was missing or somesuch.

When I went into the YCM folder and ran install.sh manually, it showed the "empty folders" error.

Running the bang version fixed it, though.

from vim-plug.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.