forked from aniani/vim
patch 7.4.785
Problem: On some systems automatically adding the missing EOL causes problems. Setting 'binary' has too many side effects. Solution: Add the 'fixeol' option, default on. (Pavel Samarkin)
This commit is contained in:
@@ -635,7 +635,7 @@ typedef struct memline
|
||||
int ml_flags;
|
||||
|
||||
infoptr_T *ml_stack; /* stack of pointer blocks (array of IPTRs) */
|
||||
int ml_stack_top; /* current top if ml_stack */
|
||||
int ml_stack_top; /* current top of ml_stack */
|
||||
int ml_stack_size; /* total number of entries in ml_stack */
|
||||
|
||||
linenr_T ml_line_lnum; /* line number of cached line, 0 if not valid */
|
||||
@@ -1586,6 +1586,7 @@ struct file_buffer
|
||||
char_u *b_p_ofu; /* 'omnifunc' */
|
||||
#endif
|
||||
int b_p_eol; /* 'endofline' */
|
||||
int b_p_fixeol; /* 'fixendofline' */
|
||||
int b_p_et; /* 'expandtab' */
|
||||
int b_p_et_nobin; /* b_p_et saved for binary mode */
|
||||
#ifdef FEAT_MBYTE
|
||||
|
Reference in New Issue
Block a user