Giter VIP home page Giter VIP logo

Comments (14)

hkupty avatar hkupty commented on June 8, 2024

Hi, thanks for the issue.

I'm guessing you installed acid before and now you're trying to install again. Please double-check your plugins folder if it's left there somehow. This looks like a cloning issue.

If not that, make sure that your plugin manager allows cloning git repositories with submodules.

Hopefully it's something as simple as that. :)

from acid.nvim.

ttiurani avatar ttiurani commented on June 8, 2024

Thanks for the swift response!

I did install acid.nvim before. I'm using the latest vim-plug and have Plug 'clojure-vim/acid.nvim', { 'do': ':UpdateRemotePlugins' } which worked with version 1. I also deleted ~/.local/share/nvim completely and installed everything from scratch, but that didn't help either.

Is there some other place acid.nvim is downloading stuff? Some work dir somewhere?

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

I'll double check, but there shouldn't be. This is really weird.
You could try cloning acid yourself and using Plug '/path/to/your/acid.nvim' to check if it works, so you circumvent any cloning issues.

from acid.nvim.

ttiurani avatar ttiurani commented on June 8, 2024

Quite the mystery, with:

Plug 'file:///my-path-to/acid.nvim', { 'do': ':UpdateRemotePlugins' }

I still get the same error.

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

Oh wow.

If you don't add the { 'do': ..} part and run that yourself, does it still happen?

from acid.nvim.

ttiurani avatar ttiurani commented on June 8, 2024

Yup, same thing happens with just Plug 'file:///my-path-to/acid.nvim'. If I knew how to debug this I could do that myself, but really don't even understand what vim-plug is doing there. This flashes:

Submodule nrepl-python-client ... registerd for path
Cloning into ... nrepl-python-client

for a while, but after that something more happens, so it doesn't seem like the cause.

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

try running :messages after you get the error, see if there's something related... I'm not sure if there's any vim-plug debugging that can be turned on.. I'll check that

from acid.nvim.

ttiurani avatar ttiurani commented on June 8, 2024

Nothing comes up with :messages. I tried to google vim-plug logging earlier too, but couldn't get anywhere. What part of this codebase is vim-plug actually running during install?

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

That's the thing. It shouldn't run anything other than setting up the rtp when neovim start. There's no hook or no function should run on PlugInstall.

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

That's why I'm insisting on path or something on vim-plug. All the functions should run on neovim start, after vim-plug's thing:

  • lua/acid/ code should only be loaded on demand, so that's out of the equation.
  • rplugin/python3/ code should run according to the plugin host, which is not there yet because of vim-plug's failure.
  • plugin/acid.vim would be called only after setup by vim-plug as well.

Unless there's something related to the bin or githooks folders, which are only bash scripts for local development. Everything else is asset (markdown or clj code to be injected).

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

You can try removing both bin and githooks from your local clone and check if it still fail or not. If it doesn't I'll open a PR to remove those scripts from this repository.

from acid.nvim.

ttiurani avatar ttiurani commented on June 8, 2024

Under ~/.local/share/nvim/plugged/acid.nvim/rplugin/python3/acid I have after the install:

 zen -> ../../../deps/zen.nvim/src

which doesn't point to anywhere. There is only nrepl-python-client under deps. How should zen.nvim end up there?

from acid.nvim.

ttiurani avatar ttiurani commented on June 8, 2024

Took a while, but found out that if I delete the deps folder (and commit to the master branch), then PlugInstall works. Deleting githooks and bin doesn't do the trick.

Found it: it was my global git hook taken from http://stackoverflow.com/a/40450106 that failed. There's a bug there somewhere I need to find.

Sorry for the trouble and thanks for your work!

from acid.nvim.

hkupty avatar hkupty commented on June 8, 2024

I'm glad that the issue is fixed now.

Just make sure that you have the dependency from deps otherwise acid won't be able to connect to the nrepl.

If you still have any issues, please don't refrain from opening another issue.

Best,
Henry

from acid.nvim.

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.