comparison src/structs.h @ 9240:636cfa97200e v7.4.1903

commit https://github.com/vim/vim/commit/45d2eeaad66939348893b9254171067b0457cd9d Author: Bram Moolenaar <Bram@vim.org> Date: Mon Jun 6 21:07:52 2016 +0200 patch 7.4.1903 Problem: When writing viminfo merging current history with history in viminfo may drop recent history entries. Solution: Add new format for viminfo lines, use it for history entries. Use a timestamp for ordering the entries. Add test_settime(). Add the viminfo version. Does not do merging on timestamp yet.
author Christian Brabandt <cb@256bit.org>
date Mon, 06 Jun 2016 21:15:07 +0200
parents d2d44592467d
children 78712a2f687a
comparison
equal deleted inserted replaced
9239:a744b63c4ed0 9240:636cfa97200e
1012 char_u *vir_line; /* text of the current line */ 1012 char_u *vir_line; /* text of the current line */
1013 FILE *vir_fd; /* file descriptor */ 1013 FILE *vir_fd; /* file descriptor */
1014 #ifdef FEAT_MBYTE 1014 #ifdef FEAT_MBYTE
1015 vimconv_T vir_conv; /* encoding conversion */ 1015 vimconv_T vir_conv; /* encoding conversion */
1016 #endif 1016 #endif
1017 int vir_version; /* viminfo version detected or -1 */
1017 garray_T vir_barlines; /* lines starting with | */ 1018 garray_T vir_barlines; /* lines starting with | */
1018 } vir_T; 1019 } vir_T;
1019 1020
1020 #define CONV_NONE 0 1021 #define CONV_NONE 0
1021 #define CONV_TO_UTF8 1 1022 #define CONV_TO_UTF8 1