amitds1997 / remote-nvim.nvim

Remote development in Neovim 🔥
MIT License
698 stars 15 forks source link

Supply nvim binary path for per user installations #170

Open AniAggarwal opened 2 months ago

AniAggarwal commented 2 months ago

Is your feature request related to a problem? Please describe.

My remote machine does not have glib 2.29, so the automated Neovim installation method does not work. I also do not have admin access and cannot install nvim system wide. Thus, I have installed neovim using conda, which is also symlinked to via ~/.local/bin.

Is there a way to point this plugin to use that specific binary? I do not want to download multiple versions via conda, their checksums, etc.

Describe the solution you'd like

A simple option in the setup, like the cach_dir in offline mode, to force a specific neovim path. Similar to https://github.com/amitds1997/remote-nvim.nvim/issues/167, but for a local binary.

Describe alternatives you've considered

I've tried tricking the plugin into using my installation by removing the neovim it installs in ~/.remote-nvim/nvim-downloads/... and replacing with a link to my binary. But this results in other weird behavior since it can't find a systemwide neovim and also cannot copy over files because the directory is non-empty.

amitds1997 commented 2 months ago

That seems like a slightly uncomfortable user experience from the plugin. I'll have a look and include a fix. I'm slowly going over the backlog so this might take some time to get a proper fix out. But I'll add one for sure. Thanks!