I am trying to setup vim to skip adding eol on last line or eof, i have tried this
:set binary
:set noeol
:w
which is not perfect cause binary override filetype for later use.
Any other option to set this, i don't need newline on last line.
This is even better i found somewhere:
au BufWritePre * :set binary | set noeol
au BufWritePost * :set nobinary | set eol