-
-
Notifications
You must be signed in to change notification settings - Fork 515
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
🐛 biome format issues with cr
on windows
#4789
Comments
Is it just a carriage return (cr)? AFAIK, that's not a valid newline. It doesn't look like helix is required to reproduce this, can you provide a reproduction repo? |
Hello @sibouras, please provide a minimal reproduction. You can use one of the following options:
Issues marked with |
not sure how to reproduce this since the the bug only happens when running biome-format.mp4 |
@sibouras please create a repository, the automated message tells you how to. |
the issue is fixed helix-editor/helix@c262fe4 |
Environment information
What happened?
this is a copy of an issue i opened in helix
Summary
when copying multiline text on windows and then replacing the selection with
space+R
the carriage returncr
doesn't get removed which causes bugs in biome formatting, pasting withspace+p
which trimscr
works fine thoughReproduction Steps
sample code to copy
hx-biome-bug.mp4
I tried this:
biome format
, nocr
is showing(expected)space+R
biome format
showscr
fmt
multiple times and biome gets confusedthis is my config
Expected result
expected format to handle
cr
Code of Conduct
The text was updated successfully, but these errors were encountered: