-
-
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
incorrect indentation with if..elif..else statements in python #7816
Comments
Hi, this doesn't really tell us what you did to reproduce the issue. Can you give more details? What did you do and what did you expect to happen? |
Hi, Just start if..elif..else statement in python. |
That's still not enough information. What are you expecting to happen? Are you expecting helix to automatically unindent the |
yes helix does not unindent the else and elif statements , I have to do it manually |
@Triton171 mentioned retroactive dedent somewhere I think but I cant find it. The current indent system only effects where your cursor is placed in a new line and not past lines so this is not a bug and working as intended. |
Ah found it: duplicate of #6044 |
Hi, The indentation with if..elif..else statements if python doesn't work.
Here is the issue and reproduction steps in image.
VERSION
helix 23.05 (7f5940b)
OS windows 10
The text was updated successfully, but these errors were encountered: