forked from aniani/vim
updated for version 7.3.124
Problem: When writing a file in binary mode it may be missing the final EOL if a file previously read was missing the EOL. (Kevin Goodsell) Solution: Move the write_no_eol_lnum into the buffer struct.
This commit is contained in:
@@ -1057,10 +1057,6 @@ EXTERN pos_T last_cursormoved /* for CursorMoved event */
|
||||
;
|
||||
#endif
|
||||
|
||||
EXTERN linenr_T write_no_eol_lnum INIT(= 0); /* non-zero lnum when last line
|
||||
of next binary write should
|
||||
not have an end-of-line */
|
||||
|
||||
#ifdef FEAT_WINDOWS
|
||||
EXTERN int postponed_split INIT(= 0); /* for CTRL-W CTRL-] command */
|
||||
EXTERN int postponed_split_flags INIT(= 0); /* args for win_split() */
|
||||
|
Reference in New Issue
Block a user