Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Download binary regardless cargo existed or not #531

Closed
ray-x opened this issue Sep 30, 2020 · 2 comments
Closed

Download binary regardless cargo existed or not #531

ray-x opened this issue Sep 30, 2020 · 2 comments

Comments

@ray-x
Copy link
Contributor

ray-x commented Sep 30, 2020

Is your feature request related to a problem? Please describe.
Currently, clap takes too much disk space because build maple cost me around 460MB.

function! clap#installer#install(try_download) abort
  " Always prefer to compile it locally.
  if executable('cargo')
    call clap#installer#build_all()
 

The code shows that if cargo installed, there is no option to download the prebuild.

Describe the solution you'd like
An option to download package directly. Specially for the user have cargo installed.

@issue-label-bot
Copy link

Issue-Label Bot is automatically applying the label feature_request to this issue, with a confidence of 0.82. Please mark this comment with 👍 or 👎 to give our bot feedback!

Links: app homepage, dashboard and code for this bot.

@liuchengxu
Copy link
Owner

Use:

Plug 'liuchengxu/vim-clap', { 'do': { -> clap#installer#force_download() } }

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants