helix icon indicating copy to clipboard operation
helix copied to clipboard

python wrong indentation on `try:`

Open rumpelsepp opened this issue 2 years ago • 1 comments

Summary

In python, the indentation is wrong when you use try.

image

Line 2 should be indented by one more level.

Reproduction Steps

Type try: and press enter.

Helix log

Not relevant.

Platform

Linux

Terminal Emulator

gnome-console

Helix Version

96ff64a84a4948b0aa85a453276cb0091fb9c792

rumpelsepp avatar Dec 07 '22 15:12 rumpelsepp

This also applies for if FOO:

rumpelsepp avatar Dec 07 '22 15:12 rumpelsepp

I think this is being discussed in #763

tmke8 avatar Dec 09 '22 12:12 tmke8

Fixed by #5332

archseer avatar Jan 07 '23 05:01 archseer