jmacdonald / amp

A complete text editor for your terminal.
https://amp.rs
Other
3.68k stars 105 forks source link

editor is confused when opening files with Windows line endings on Linux #193

Open bmaxa opened 4 years ago

bmaxa commented 4 years ago

I tried opening header file wich beggins with multilne comment (/ /) and editor is totally confused. vectormath_trig.zip

bmaxa commented 3 years ago

Ah, finally figured out what is the problem. AMP chokes on Windows line endings, \xd\0a when I used dos2unix everything go normal.

bmaxa commented 3 years ago

I have to add that I am using Linux, on Windows, probably not a problem as Windows handles \xd\xa.