bugfix: fix LineEnding for windows (#6688)

fixes a bug when compiling on windows


![image](https://github.com/zed-industries/zed/assets/715417/5a35b1b2-29f4-4987-9410-730c9b287f82)

Release Notes:

- Fixed: compilation error related to `LineEnding` on Windows
This commit is contained in:
Thorsten Ball 2024-01-25 09:58:53 +01:00 committed by GitHub
commit c6e7cf1cbc
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -2634,7 +2634,7 @@ impl Default for LineEnding {
return Self::Unix;
#[cfg(not(unix))]
return Self::CRLF;
return Self::Windows;
}
}