Comments (4)
Thank you very much for your answer (and this useful plugin !).
Here follows a screencast of the my actions.
I am connecting to osdegirouette host using an entry in my .ssh/config.
screencast.webm
As you can see, as soon as I press enter after entering "2" to select nvim v0.9.1, RemoteStart
get stuck.
After a few debugging I can tell that the command is stuck in the NeovimSSHProvider:get_user_selection
function and never reach the end of the function. I can see the callback be called. But nothing more. As I said in my first post it takes the coroutine.yield()
statement and never reach the end of the get_user_selection
function.
I hope this will help.
I wanted to attach the log file but I can't find it.
Thanks in advance for your help.
from remote-nvim.nvim.
It's working great now.
Thank you very much !
from remote-nvim.nvim.
Thanks for reporting the issue! NeovimSSHProvider:get_user_selection
uses vim.ui.select
which operates async so the callback should resume the coroutine once a selection is made and the coroutine remains paused until then.
Could you please provide a screen cast showing the issue you are facing? I could not gather the exact scenario that you are running into. While doing that, could you also gather the debug logs? You can follow this comment about how to generate those logs.
from remote-nvim.nvim.
Here follows a screencast of the my actions. I am connecting to osdegirouette host using an entry in my .ssh/config.
screencast.webmAs you can see, as soon as I press enter after entering "2" to select nvim v0.9.1,
RemoteStart
get stuck.After a few debugging I can tell that the command is stuck in the
NeovimSSHProvider:get_user_selection
function and never reach the end of the function. I can see the callback be called. But nothing more. As I said in my first post it takes thecoroutine.yield()
statement and never reach the end of theget_user_selection
function.
Thanks for the screencast. The issue was indeed in the get_user_selection
method. The default implemenatation of vim.ui.select
is synchronous (it calls :inputlist
). The previous implementation assumed that the implementation would be asynchronous (something that is true with plugins like dressing.nvim
which override the interface).
The issue should be fixed by fb2c301 and you can check out the master
branch to test it out. Do let me know if you still see this issue.
from remote-nvim.nvim.
Related Issues (20)
- Don't think linux has tar --disable-copyfile HOT 1
- Add support for Passphrases on protected private keys. HOT 1
- Resize RemoteNvim Window HOT 2
- Any support for Kubernetes pods
- Explain the difference between the plugin and the usual ssh + nvim HOT 2
- Investigate devpod vs devcontainer for backing executable for devcontainer HOT 1
- Add devcontainer support
- Add docker support
- Remote OS Support: FreeBSD HOT 18
- Show running logs for Remote Start
- Replace nvim-notify by nui.nvim popup
- Support dynamic port forwarding
- improve the way of neovim downloading on remote machine HOT 7
- offline mode: remote machine still need to download plugins from github HOT 9
- the client always in TERMINAL mode, if input C-\ C-n, it will enter the local nvim thread context? HOT 2
- ssh config parser fails when including global options HOT 2
- Plugin connect to host but won't copy the .config file to the session dir HOT 17
- Remote Connection ARM Support HOT 4
- SSH config parser fails when `Include`-ing wildcards HOT 2
- lazy plugin installed, but not loaded; how to use it? HOT 12
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 remote-nvim.nvim.