View \ n and \ r characters in Vim?

Is there a way to make \ n or \ r characters visible in vim? (I want to see if the csv file I'm looking for uses only \ n or \ r and \ n at the end of lines.

+3
source share
1 answer
:setl fileformat?

dosmeans CR-LF (sequentially, if only some lines contain both, it will be indicated as unix, and you will see the ^Mcharacters at the end of these lines), unixmeans LF; macmeans only newlines CR.

+4
source

All Articles