I occasionally open a file with vim and see something like this:
"<file name>" [Incomplete last line][dos format] 71 lines, 2912 characters
I understand all of that information except Incomplete last line
. I realize this just means that there isn't a line termination character on the last line, and I know if I resave the file and reopen it, that message goes away, which implies that vim automatically adds the line termination character if it isn't already present. My question is: why does this matter, and why does vim bother to tell me about it?