Comments (9)
Thanks @savq. I believe that was it… I knew I was doing something odd. I just moved everything to the top of the file for now, and everything is golden.
I may try to some lua magic where I register a plugin and it's config and at the end require all the plugins and setup all the config… but that can wait.
from paq-nvim.
Ahh, ok, the problem isn't that bad.
What's happening is that Neovim will raise an error when it gets to line 18 of your dotfiles, where you're defining your colorscheme. Neovim can't find it (since it isn't installed yet). When you enter Neovim again, it'll get to line 22, where there's a require call, etc.
I hadn't noticed because I source all my plugins at the top of my config, but you can still use your plugins as you have them now. It just needs a little bootstrapping.
Lazy solution:
Create a temporary file with a list of the plugins, install all of them, and then use your dotfiles as usual.
cd ~/.config/nvim/
cat init.lua | grep 'paq' > temp.lua
nvim -u temp.lua
The -u
flag tells Neovim to use a different initialization file, once in Neovim you should be able to run :PaqInstall
without issues.
from paq-nvim.
Yep. There was a bug in v0.6.2. I pushed a patch a couple of hours before this issue. Hopefully when you downloaded paq again, it was the new version.
I'll keep this open for a couple of days to be completely sure that everything is working correctly.
:PaqInstall
should be working fine though. If plugins weren't installed properly, the plugins probably weren't deleted properly and there are residual directories that cause git clone
to fail.
from paq-nvim.
I tried burning the folders to try and force Paq to install everything… but I'm still getting false numbers [1/3]
to start with, then the next time I restart I'm getting [3/12]
and I get the next batch… I assume I'm doing something wrong, but it's weird.
from paq-nvim.
So running into this again… I checked :PaqLogOpen
and found a bunch of "pulling without specifying a strategy" warnings, so I nuked ~/.local/share/nvim/site/pack/paqs/
, reinstalled using the bash command from the README.md, and now I'm in incremental `:PaqInstall's again.
from paq-nvim.
I think part of the problem may be that I have killed nvim before it's done cloning it's current batch… there's a folder and repo, but it hasn't finished pulling/rebasing.
from paq-nvim.
Ok, the screenshot made it easy to see one of the problems. That's likely fixed now.
The message in the log is probably unrelated though 🤔
from paq-nvim.
I'm sure I'm doing something dumb… potentially my git config
or $XDG_DATA_HOME
? Unsure.
https://asciinema.org/a/mhiJAkIaNMsST7Wzp5xw0bes8
☝️ There's a recording of the incremental saving occurring… am I just following a bad practice with my nvim.lua?
from paq-nvim.
No problem, I'm glad I could help. and sorry for the other inconveniences.
from paq-nvim.
Related Issues (20)
- Feature Request: SSH HOT 2
- `opt = true` not respected HOT 2
- [Feature] custom commands for updating/installing HOT 3
- bug in bootstrapping docs HOT 1
- Repo owner not taken under consideration when trying to install plugin with same name
- [Feature Discussion] shorten way to call a `:Command` on `run`
- Unable to run setup hook for gitsigns HOT 3
- [Feature Request] Support for tagging certain versions HOT 1
- Synchronous plugins installation HOT 1
- What neovim version is paq trying to target? HOT 3
- Tracking issue for Paq 2.0 HOT 9
- Error when using extra parameters with plugins. HOT 2
- I can't get paq-nvim to work after following all the instructions. HOT 1
- Docs improvement ideas
- errors on first installation of `nvim-treesitter` HOT 5
- cur_hash is always euqal prev_hash, even if a package got updated, leaving the log file empty HOT 3
- question: how do i make a package require another package? HOT 2
- cannot use paq at all HOT 2
- Hide "Nothing to install" message on startup HOT 5
- PaqInstall get error message, but install success
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 paq-nvim.