Git Product home page Git Product logo

Comments (5)

k-takata avatar k-takata commented on May 22, 2024

Sorry for the late response.

I could not get the below to work

How did you check it? Did you see any error messages?
Does :mes show any information?

from minpac.

Parasrah avatar Parasrah commented on May 22, 2024

I have been looking into how to do something similar, and am wondering how you managed to get the do post-update hook to execute in the plugin directory instead of the cwd? I've been using the jobstart api, does your use of ! cause the shell command to execute in the appropriate dir? Thanks in advance 😄

from minpac.

k-takata avatar k-takata commented on May 22, 2024

Before executing the post-update hook, minpac will change the cwd to the plugin directory.

from minpac.

Parasrah avatar Parasrah commented on May 22, 2024

Thanks @k-takata for the quick response, I will have to troubleshoot to see what I've done wrong with my setup. I'm sure I made a mistake someplace

from minpac.

b- avatar b- commented on May 22, 2024

I have the following in a file with a list of package installs:

call minpac#add('neoclide/coc.nvim', {'do': '!install.sh'})

I don't know what I'm doing wrong, but it's failing to run install.sh in the neoclide/coc.nvim folder. I've tried much more complicated variants of this, as ideally I need this to work on both Windows and *nix (which would require if has('Win32') to use install.cmd instead), but even the most simple one doesn't seem to work, unless I'm getting something wrong, which is very possible.

Any suggestions? I'm trying to create a deployable (via git) vim config, and the manual step of compiling https://github.com/neoclide/coc.nvim is the one missing link so far.

EDIT: I found my issue. It should have been:

call minpac#add('neoclide/coc.nvim', {'do': '!./install.sh'})

from minpac.

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.