Christian Brabandt wrote:
> Hi Gary!
>
> On So, 22 Jan 2017, Gary Johnson wrote:
>
> > Some of the log files I collect contain both CR and CR-LF line
> > endings. Normally on a Linux system, Vim opens those files as
> > 'fileformat' "unix", which puts ^M at the end of lines ending with
> > CR-
On 2017-01-22, Christian Brabandt wrote:
> Yeah, readfile() does not expect autocommands to change those values.
>
> Attached is a patch that fixes it.
Wonderful! Thank you so much!
Regards,
Gary
--
--
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply
Hi Gary!
On So, 22 Jan 2017, Gary Johnson wrote:
> Some of the log files I collect contain both CR and CR-LF line
> endings. Normally on a Linux system, Vim opens those files as
> 'fileformat' "unix", which puts ^M at the end of lines ending with
> CR-LF. I would like to hide those ^M by forcin
Some of the log files I collect contain both CR and CR-LF line
endings. Normally on a Linux system, Vim opens those files as
'fileformat' "unix", which puts ^M at the end of lines ending with
CR-LF. I would like to hide those ^M by forcing 'fileformat' to
"dos" for those files. I think the follo