Mercurial > vim
comparison 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 |
comparison
equal
deleted
inserted
replaced
6932:727f3fececd8 | 6933:62ba356c2d4e |
---|---|
633 #define ML_LOCKED_DIRTY 4 /* ml_locked was changed */ | 633 #define ML_LOCKED_DIRTY 4 /* ml_locked was changed */ |
634 #define ML_LOCKED_POS 8 /* ml_locked needs positive block number */ | 634 #define ML_LOCKED_POS 8 /* ml_locked needs positive block number */ |
635 int ml_flags; | 635 int ml_flags; |
636 | 636 |
637 infoptr_T *ml_stack; /* stack of pointer blocks (array of IPTRs) */ | 637 infoptr_T *ml_stack; /* stack of pointer blocks (array of IPTRs) */ |
638 int ml_stack_top; /* current top if ml_stack */ | 638 int ml_stack_top; /* current top of ml_stack */ |
639 int ml_stack_size; /* total number of entries in ml_stack */ | 639 int ml_stack_size; /* total number of entries in ml_stack */ |
640 | 640 |
641 linenr_T ml_line_lnum; /* line number of cached line, 0 if not valid */ | 641 linenr_T ml_line_lnum; /* line number of cached line, 0 if not valid */ |
642 char_u *ml_line_ptr; /* pointer to cached line */ | 642 char_u *ml_line_ptr; /* pointer to cached line */ |
643 | 643 |
1584 #ifdef FEAT_COMPL_FUNC | 1584 #ifdef FEAT_COMPL_FUNC |
1585 char_u *b_p_cfu; /* 'completefunc' */ | 1585 char_u *b_p_cfu; /* 'completefunc' */ |
1586 char_u *b_p_ofu; /* 'omnifunc' */ | 1586 char_u *b_p_ofu; /* 'omnifunc' */ |
1587 #endif | 1587 #endif |
1588 int b_p_eol; /* 'endofline' */ | 1588 int b_p_eol; /* 'endofline' */ |
1589 int b_p_fixeol; /* 'fixendofline' */ | |
1589 int b_p_et; /* 'expandtab' */ | 1590 int b_p_et; /* 'expandtab' */ |
1590 int b_p_et_nobin; /* b_p_et saved for binary mode */ | 1591 int b_p_et_nobin; /* b_p_et saved for binary mode */ |
1591 #ifdef FEAT_MBYTE | 1592 #ifdef FEAT_MBYTE |
1592 char_u *b_p_fenc; /* 'fileencoding' */ | 1593 char_u *b_p_fenc; /* 'fileencoding' */ |
1593 #endif | 1594 #endif |