atom / line-ending-selector

Switch between Unix and Window style line endings.
MIT License
33 stars 18 forks source link

Current line ending setting not respected #52

Closed walterdeboer closed 6 years ago

walterdeboer commented 6 years ago

When I open a linux file (line endings LF) in atom on Windows, the line endings selector shows the correct line-ending: LF

However when I add a line, the windows line-ending is used (CRLF), and the line-ending switches to Mixed. I would like the line-ending to stay at LF.

When I first explicitly set the line-ending to LF and then add a line, the expected line ending (LF) is used

jasonrudolph commented 6 years ago

I've tried to reproduce this issue using the latest version of Atom (1.31.2), but I haven't been able to reproduce the behavior described above.

Given that it's been more than 9 months since this problem was reported, it seems possible to me that this issue may have been resolved. (Maybe. 🤞) For that reason, I'm going to close this issue, but if you can still reproduce it, please open a new issue with the steps for reproducing the problem in the current version of Atom. :bow: