zed
zed copied to clipboard
Python indentation issue
Summary
The issue did not exist until a recent update.
Steps to reproduce:
- Open Zed with empty config.
- Input below code in a Python buffer
def f() -> list[str]:
|
- Input
a
Expected Behavior:
def f() -> list[str]:
a
Actual Behavior:
Zed Version and System Specs
Zed: v0.188.2 (Zed Preview) OS: macOS 15.4.1 Memory: 64 GiB Architecture: aarch64
I can reproduce on the latest Preview. However, I am unable to reproduce on the current main, where the issue seems to be fixed.
Yes, this is recently fixed by https://github.com/zed-industries/zed/pull/31260. I will cherry pick it to preview.