Comments (4)
Paq clones packages via HTTPS (instead of SSH or some other protocol) , since you don't really need write permissions. Still, if you haven't set up git to cache your credentials, it'll complain when you try to clone a repo from github.
See Why is Git always asking for my password? and Caching your GitHub credentials in Git
Also see #4
from paq-nvim.
That all makes sense. But that's not what this issue is addressing.
This issue is about the buffer getting mutated where the cursor is when a non existent package is attempted to be installed. On line 28 you can see the text about the username. Why is it writing text to my buffer? It should have asked as that a prompt in the command line.
from paq-nvim.
I haven't been able to reproduce the buffer changing. Paq doesn't write to buffers, it always write to stdin.
Paq does assume git processes won't wait for user input, that's what credentials must be set before using it. And if that condition is met, it'll just write paq [n/n] failed to install foo
.
from paq-nvim.
I was also able to reproduce this. In a buffer, I did a PaqInstall and accidentally had 'nvim-lua/plenary';
instead of 'nvim-lua/plenary.nvim';
. Wherever my cursor was in the buffer, it put in Username for https://github.com': text and locked up the instance of neovim. Not a huge deal.... but I could see it tripping up people if they make any minor mistakes on the plugins.
from paq-nvim.
Related Issues (20)
- Crash when updating: "cannot resume dead coroutine" HOT 1
- Can I have the paq configuration outside of init.lua? HOT 2
- Add commit to options HOT 4
- `Vim(split):E518: Unknown option: add` HOT 10
- Paq fails to update folke/tokyonight.nvim always HOT 3
- failed to run `cd` as post install hook HOT 2
- Wiki has out-of-date TODO for lazy loading with autocommand
- log file (PaqLogOpen) interleaves logs from different jobs HOT 1
- Question about paq vs paqs folders HOT 1
- self-installing example HOT 2
- PaqClean command removes all packages except paq-nvim HOT 2
- Add possibility to pass `opt true` on paq setup HOT 1
- 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
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.