Skip to content
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

Zed incorrectly indents braces in js/ts after writing callbacks in allman style #25584

Open
phosmium opened this issue Feb 25, 2025 · 0 comments

Comments

@phosmium
Copy link

phosmium commented Feb 25, 2025

Summary

Writing allman-style JS callbacks results in wrong brace indents.

Actual Behavior:

Image

Expected Behavior:
it shouldn't indent the braces after writing () => , it should look like this instead:

() =>
{
    // code...
}

Zed Version and System Specs

Zed: v0.176.0 (Zed Dev ee1a559)
OS: Windows 10.0.26100
Memory: 63.3 GiB
Architecture: x86_64
GPU: NVIDIA GeForce RTX 4090 || NVIDIA || 566.36

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant