If I create a file without an EOL, for example:
$ echo -n "1" > test
...and then open it in vim:
$ vim --clean test
...the left hand side of the statusline looks like:
"test" [noeol] 1L, 1C
Yet when I open the file with my own statusline there is no [noeol] flag. I cannot see any information in the docs for statusline about how to get this flag.
How should I configure my statusline to see this flag?
Many thanks!
"foo", 1L, 2C writtenwhen you save the file. – muru Dec 11 '18 at 10:15eoloption setting. – Christian Brabandt Dec 11 '18 at 12:11