Closed saidelike closed 4 months ago
Thanks for reporting this! Will fix.
note that I haven't been able to have it working with
nvim-qt.exe
. Is that expected?
what does "have it work with nvim-qt" mean? List the exact steps.
You can ignore that nvim-qt.exe but it is basically an alternative binary on Windows. And the node client works in nvim-qt.exe when using the remote plugin
I still don't understand what you mean. I need you to list the exact steps that you expect to work with nvim-qt.exe.
nvim-qt.exe
is a GUI which starts a nvim.exe
child. If you are trying to attach()
to nvim-qt.exe
, that won't work. You need to attach()
to nvim.exe
.
Yes i also think it won't work as indeed I was trying what you mentions. Sorry for the confusion but i won't list steps as it does not make sense imho.
By the way, in the demo.mjs example, i noticed we don't see the gui at all and it is hidden (at least on Windows in my environment). It's that expected?
Am i missing something obvious here and is there a way to show the nvim.exe window? That would be handy to visually see the lines changed etc.
Am i missing something obvious here and is there a way to show the nvim.exe window?
To attach to a already-running Nvim, you can need to get the socket name from the running Nvim via :echo v:servername
for example. Then pass the socket name to attach()
.
I can confirm that version 5.1.0 works now
getNvimFromEnv
fails due to a space in the path? We can see it triggers a'C:\Program' is not recognized as an internal or external command, operable program or batch file.
error below when it is called which implies it tried to run it.however then if I hardcode the path it works as shown below
note that I haven't been able to have it working with
nvim-qt.exe
. Is that expected?