diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-07-21 21:51:59 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-07-21 21:51:59 +0200 |
commit | 5f32ece459d1f310b1b48b72e07dcd77d3261a76 (patch) | |
tree | 32f770f03d408817c017596ae1836f2e29ebde32 /src/structs.h | |
parent | defa067c54874dd987121dd7252c62755e0aebfa (diff) |
patch 8.1.1728: wrong place for command line history viminfo supportv8.1.1728
Problem: Wrong place for command line history viminfo support.
Solution: Move it to viminfo.c.
Diffstat (limited to 'src/structs.h')
-rw-r--r-- | src/structs.h | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/src/structs.h b/src/structs.h index 525289cb7f..7a3e8d2e57 100644 --- a/src/structs.h +++ b/src/structs.h @@ -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 |