-
-
Notifications
You must be signed in to change notification settings - Fork 2.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[vim] Start new terminal for nvim in Windows #882
Conversation
Thanks. As far as I know, Windows support of Neovim is experimental and is not officially announced yet. I'm not quite sure if I want to add code for it at this point.
So Neovim for Windows will not have |
It's planned, and was working at one point, but no timeframe on it. |
Nightly builds of Neovim for Windows include nvim-qt for a GUI because there's no TUI officially available yet so we can limit the scope of the new code for Neovim GUIs in Windows only. |
TUI is "sort of working" in neovim, and the related PR will be merged soon. |
Full command: Does neovim/neovim#6359 fix this issue? |
@junegunn How far can I go for handling the filepaths on Windows? I'm defaulting to @justinmk I'm using this build currently. Should I get the latest? |
@janlazo try neovim/neovim#6359 or just wait for it to be merged. |
|
- required for jobstart() with list arguments - meant for Neovim in Windows-only - maintain backslash and space escaping in Vim
I used powershell in this commit, janlazo@7a752fb, to get around the single-quote escaping. I passed |
@junegunn This PR has a mixture of commits meant for Vim but is compatible with Neovim via powershell. I can make a separate PR for using backslashes in Windows filepaths such that, with |
Thanks for your work @janlazo. To be honest, it's a little hard for me to follow this thread; what are the exact problems we are trying to solve? What are the steps to reproduce each problem and how do we validate the correctness of the fixes? Are we talking about Vim, Neovim, or both? Is this the right time for us to make changes for unannounced Neovim? Is it okay for us to proceed with the Neovim issues mentioned above unresolved? Do we have to fix the code for So basically what I'm saying is that I'd like to see this PR broken down into smaller ones each tackling a single problem. |
There are at least 3 separate problems we're trying to solve:
|
Can we have separate PR for each subproblem? I'd like to delay merging Neovim-related changes and wait for the related issues are cleared. |
neovim/neovim#6497 is merged to master so I'll open another PR just for jobstart in Neovim. Anything else comes after #896 |
This PR starts allows the vim plugin to work for Neovim in Windows by starting a new and separate terminal via cmd.exe and the start command. This is a workaround for the missing
:terminal
support.I used jobstart() and on_exit to mimic s:execute() for Vim in Windows.
Tested only in Windows 8.1 and a recent March build of Neovim for Windows.