summaryrefslogtreecommitdiffstats
path: root/src/structs.h
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2019-07-21 21:51:59 +0200
committerBram Moolenaar <Bram@vim.org>2019-07-21 21:51:59 +0200
commit5f32ece459d1f310b1b48b72e07dcd77d3261a76 (patch)
tree32f770f03d408817c017596ae1836f2e29ebde32 /src/structs.h
parentdefa067c54874dd987121dd7252c62755e0aebfa (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.h11
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