nvim-lua / plenary.nvim

plenary: full; complete; entire; absolute; unqualified. All the lua functions I don't want to write twice.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

[Bug] Curl timeout and write error on Termux

alexmozaidze opened this issue · comments

I was trying to use open.nvim to open a URL, but first it gave a timeout error and after I increased the timeout to 10 minutes, it gave a write error.
For screenshots and details refer to open.nvim #7.

It’s caused by a hardcoded path. Once this pr gets merged, you may set this environment variable export XDG_RUNTIME_DIR=“$PREFIX/temp”. Just put it in your ~/.bashrc and everything should work. I could make this work out of the box, but I avoided any termux specific code.

For now, you can open your local copy of curl.lua, search for /tmp and change it with your temp dir path. Make sure not to auto update, until this issue gets fixed

just hit master, might now be resolved, if yes, feel free to close

Yep, all solved. Thank you!