biome: biome incorrectly collapses whitespace on closing paren
for the last week or so, the biome extension in zed has been incorrectly collapsing whitespace, specifically when typing a closing paren. the issue seems to only happen when there is an existing return statement within the function (see video). removing the extension from zed fixes the issue.
note: i am not saving in the video after typing the closing paren, so formatting should not be taking place
versions:
zed v0.178.5
biome extension v0.1.4
to reproduce:
bun init biome-zed-test
cd ./biome-zed-test
bunx biome init # default config used
zed . # try writing a function
https://github.com/user-attachments/assets/a6e0e26a-779a-4277-987b-a0dd92c8ccd2
About this issue
- Original URL
- State: open
- Created 2 years ago
- Reactions: 3
- Comments: 18 (7 by maintainers)
i have added my personal zed settings to the repo
My apologies, that was on me.
@ematipico here is a reproduction: https://github.com/maxpetretta/biome-zed-whitespace-closing-paren
No one has provided a reproduction. Iād be happy to open it if a reproduction is provided