Skip to content

Conversation

@UnnaturalTwilight
Copy link
Contributor

Currently when opening a file with only one line the heuristic for line ending always assumes CRLF. This pr instead uses the default line ending for the platform to be consistent with creating new files.

This is a new pull request with the same change as #723 since I messed up that one when trying to rebase it.

Copy link
Member

@lhecker lhecker left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thank you for fixing this!

@lhecker lhecker enabled auto-merge (squash) January 13, 2026 15:31
@lhecker lhecker merged commit 48c2ab2 into microsoft:main Jan 13, 2026
3 checks passed
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

Successfully merging this pull request may close these issues.

2 participants