-
-
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
The plug-in is not compatible with vscode-neovim #82
Comments
Thanks for the note @echaya. I'm hoping this will be a simple update to the condition here: https://github.com/kbrose/vsc-python-indent/blob/master/package.json#L46 ( I've special cased the vim plugin, but perhaps the neovim plugin also needs to be included. I hope that they enable filtering in a similar way to the vim plugin. I'll try to dig in at some point in the near future. |
thanks for the prompt reply @kbrose and looking forward to the update! maybe neovim.mode == insert will just do the trick. |
Just double checking, is this the right extension? https://marketplace.visualstudio.com/items?itemName=asvetliakov.vscode-neovim |
@echaya is normal mode different than insert mode? (I don't use vim.) If the python-indent extension only activated in insert mode, would that be correct behavior? |
It is the right plug-in.
Insert mode is the mode people typing out most of the code while normal mode is to move around the cursor and make small changes on existing text (or going into insert mode for big changes). So i guess it makes sense to only enable python-indent during the insert mode. |
@echaya can you try getting the latest version (1.14.2) and see if that fixes things? |
it works!!! Thanks much Kevin!
Best,
Frederick Z. Zhang, PhD, CFA
…On Thu, Apr 22, 2021 at 11:15 AM Kevin Rose ***@***.***> wrote:
@echaya <https://github.com/echaya> can you try getting the latest
version (1.14.2) and see if that fixes things?
—
You are receiving this because you were mentioned.
Reply to this email directly, view it on GitHub
<#82 (comment)>,
or unsubscribe
<https://github.com/notifications/unsubscribe-auth/AIFK4SHPWJ3MGP2ZWZRG6EDTJ6IEPANCNFSM43JRKBNA>
.
|
Hi, I've been trying out vscode-neovim lately and seems it is not fully compatible with python-indent
The exact issue:
when pressing o in normal mode, it shall insert a line below the current cursor line. However with python-indent enabled, it enters insert mode and leave the cursor in the same line.
I'm not entirely sure it is a python-indent issue or from vscode-neovim. But i have to give up python-indent for now as I'm migrating most workflow on vscode nowadays.
Let me know if additional info is needed on the bug.
The text was updated successfully, but these errors were encountered: