0
0
mirror of https://github.com/vim/vim.git synced 2025-09-23 03:43:49 -04:00

patch 8.1.1728: wrong place for command line history viminfo support

Problem:    Wrong place for command line history viminfo support.
Solution:   Move it to viminfo.c.
This commit is contained in:
Bram Moolenaar
2019-07-21 21:51:59 +02:00
parent defa067c54
commit 5f32ece459
5 changed files with 527 additions and 479 deletions

View File

@@ -1115,6 +1115,17 @@ typedef struct
garray_T vir_barlines; // lines starting with |
} vir_T;
/*
* Structure used for the command line history.
*/
typedef struct hist_entry
{
int hisnum; /* identifying number */
int viminfo; /* when TRUE hisstr comes from viminfo */
char_u *hisstr; /* actual entry, separator char after the NUL */
time_t time_set; /* when it was typed, zero if unknown */
} histentry_T;
#define CONV_NONE 0
#define CONV_TO_UTF8 1
#define CONV_9_TO_UTF8 2