-
-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
Copy command broke in 1.11.0 release #4126
Comments
I just confirmed that downgrading to |
same here. actually I get this error by any command, e.g. |
I don't recall any specific modifications we did with neovim over the last release. https://github.com/vscodevim/vim/compare/v1.10.2..v1.11.0 |
Global file search/replace via |
Going through the diff, we didn't change anything explicitly with neovim. The neovim npm package we rely on is at the same version and likewise no code change in the interface. May have been our migration to webpack? |
It was indeed the webpack change.
Seems to have fixed neovim. |
Ok, that didn't work. Reverting my fix and pushing a new version as my fix completely broke the extension if neovim was enabled. Anybody have better knowledge on why webpack could be breaking this? |
@jpoon @tjb-wiley I see a mention of this working if we downgrade to This issue have been driving me mad, at first I thought it was my neovim so have just been using neovim directly since the issue appeared but yesterday I experience the exact same problem on a completely different computer/system and at that point I suspected it might be a bug in neovim. Did some searching and found this. As someone who's only installed plugins via the vscode interface I have no idea where to even start for enforcing an older plugin-version. This bugs makes vscode unusable for me, I rely a lot on proper ex commands to work, I can't even do a simple sort in vscode at this point. |
You have a couple of options:
Contributions are welcome! It's definitely attributed to our move to using webpack. Unfortunately, I don't understand webpack enough to figure out what could be going wrong. Alternatively, we can go nuclear and revert the commit... |
Would happily contribute but I'm not a webpack expert (merely even a consumer) and have never coded TypeScript so I would barely even know where to start without much guidance. Reverting the commit sounds like a reasonable short term approach since this pretty much makes nvim-integration useless. |
My wild guess would be that some kind of build optimization is hitting us here. @jpoon Any luck diffing the compiled scripts before/after the move to webpack? |
No. Sorry, haven't had time. Let's move ahead with reverting the webpack commit. It'd be amazing if somebody could help submit a PR reverting the commit and testing that neovim indeed does work. I'll merge, and can release a new version of the extension. |
Thanks. Merged and released over the weekend. |
This still happens on v1.13.1 when trying to use |
Describe the bug
A clear and concise description of what the bug is.
On both my Mac and Ubuntu laptops, if I try to copy/paste code using the
co
command, like this:I get an error:
To Reproduce
Steps to reproduce the behavior:
Expected behavior
Lines 1,20 should be copied after line 20
Screenshots
If applicable, add screenshots to help explain your problem.
If remapping-related, please attach log output: https://github.com/VSCodeVim/Vim#debugging-remappings.
Environment (please complete the following information):
Additional context
Add any other context about the problem here.
Since this extension is using
neovim
, i upgraded it via brew to ensure that that didn't fix the issue. Even after upgrading from 0.3.4 -> 0.4.2, however, still get the same error.The text was updated successfully, but these errors were encountered: