Comments (14)
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.
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.
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.
Quite the mystery, with:
Plug 'file:///my-path-to/acid.nvim', { 'do': ':UpdateRemotePlugins' }
I still get the same error.
from acid.nvim.
Oh wow.
If you don't add the { 'do': ..}
part and run that yourself, does it still happen?
from acid.nvim.
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.
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.
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.
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.
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.
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.
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.
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.
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)
- On update remote plugins HOT 3
- Specify :connect port HOT 5
- Boot support HOT 5
- Commands are not working HOT 6
- acid.nvim throws an error out of the box HOT 20
- The "K" keybinding to look up docs throws an error HOT 13
- The "<C-]>" keybinding to jump to declaration throws an error HOT 4
- Feature request: show stacktrace when eval produces an error HOT 5
- Feature request: a simple REPL prompt in the command area HOT 1
- Feature request: a more flexible AcidMotion HOT 9
- Obscure error message when no nREPL is running HOT 11
- Require/eval fails when the folder hierarchy isn't typical for a Clojure project HOT 7
- Feature request: a command to evaluate a string of input (i.e programmatic `cqp`) HOT 6
- :AcidRequire clojure.string - Weird error HOT 5
- Feature request: an option to disable "go to definition" HOT 4
- No request handler registered for acid:function:AcidGetNs HOT 15
- Unknown function: trim HOT 4
- `gd` kills `:AcidEval` HOT 2
- Bad argument #1 to ipairs HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from acid.nvim.