Ensure consistent line endings when reading files by converting CRLF (`\r\n`) to LF (`\n`). This fixes incorrect line number detection when modifying CRLF-formatted files. Addresses yetone/avante.nvim#1621.
Ensure consistent line endings when reading files by converting CRLF (`\r\n`) to LF (`\n`). This fixes incorrect line number detection when modifying CRLF-formatted files. Addresses yetone/avante.nvim#1621.