-
-
Notifications
You must be signed in to change notification settings - Fork 19
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
this plugin breaks :w
in vim plugin
#10
Comments
Thanks for leaving an issue! Could you specify which vim plugin you are talking about? |
Hey, I just stopped by to leave the same issue. It's possible he's talking about another vim plugin, but it definitely breaks VSCodeVim. |
VS code python indent |
I believe that's my extension :) @above-c-level or @ryanrca, could one of you give me a step-by-step instructions for reproducing? I've not used the vim plugin before. |
Yeah no problem! Basically when using vim, you can normally do |
Try this. Start with a fresh install of VSCode.
See nothing in the dev tools error console. Observe the file is saved to disk.
See the stack trace in the dev tools error Console. Observe the file is NOT saved to disk.
See nothing in the dev tools error console. Observe the file is saved to disk. |
EDIT: This should be resolved in versions v0.7.0 and above, please try upgrading. If the issue persists, please open a new issue. Thanks for the descriptions! The problem is that this extension sets the In VSCode, you can refine the conditions of when a shortcut will fire, and I can do that for when I'm going to file an issue with the Vim extension to see if we can get a good solution in place. As a workaround in the meantime, you can edit your own conditions:
|
I've narrowed it down to this plugin.
When using this plugin with the vim plugin, it breaks the very important
:w
operator to save your file. When disabling vsc-python-indent,:w
works well. When enabling it,:w
fails when editing any .py file. This is the stack trace in dev tools:The text was updated successfully, but these errors were encountered: