Mercurial > vim
comparison src/structs.h @ 17460:e43f0c0c491c v8.1.1728
patch 8.1.1728: wrong place for command line history viminfo support
commit https://github.com/vim/vim/commit/5f32ece459d1f310b1b48b72e07dcd77d3261a76
Author: Bram Moolenaar <Bram@vim.org>
Date: Sun Jul 21 21:51:59 2019 +0200
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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sun, 21 Jul 2019 22:00:05 +0200 |
parents | cfdef48743ed |
children | 3e708b5c0509 |
comparison
equal
deleted
inserted
replaced
17459:02dc4260ddbb | 17460:e43f0c0c491c |
---|---|
1112 FILE *vir_fd; // file descriptor | 1112 FILE *vir_fd; // file descriptor |
1113 vimconv_T vir_conv; // encoding conversion | 1113 vimconv_T vir_conv; // encoding conversion |
1114 int vir_version; // viminfo version detected or -1 | 1114 int vir_version; // viminfo version detected or -1 |
1115 garray_T vir_barlines; // lines starting with | | 1115 garray_T vir_barlines; // lines starting with | |
1116 } vir_T; | 1116 } vir_T; |
1117 | |
1118 /* | |
1119 * Structure used for the command line history. | |
1120 */ | |
1121 typedef struct hist_entry | |
1122 { | |
1123 int hisnum; /* identifying number */ | |
1124 int viminfo; /* when TRUE hisstr comes from viminfo */ | |
1125 char_u *hisstr; /* actual entry, separator char after the NUL */ | |
1126 time_t time_set; /* when it was typed, zero if unknown */ | |
1127 } histentry_T; | |
1117 | 1128 |
1118 #define CONV_NONE 0 | 1129 #define CONV_NONE 0 |
1119 #define CONV_TO_UTF8 1 | 1130 #define CONV_TO_UTF8 1 |
1120 #define CONV_9_TO_UTF8 2 | 1131 #define CONV_9_TO_UTF8 2 |
1121 #define CONV_TO_LATIN1 3 | 1132 #define CONV_TO_LATIN1 3 |