Mercurial > vim
diff src/structs.h @ 6933:62ba356c2d4e v7.4.785
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)
author | Bram Moolenaar <bram@vim.org> |
---|---|
date | Fri, 17 Jul 2015 14:18:08 +0200 |
parents | f5b262981753 |
children | 1efa7c2b9368 |
line wrap: on
line diff
--- a/src/structs.h +++ b/src/structs.h @@ -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