Mercurial > vim
comparison src/proto/ex_cmds.pro @ 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 | 21b0a39d13ed |
children | f5d9eb512f8b |
comparison
equal
deleted
inserted
replaced
9239:a744b63c4ed0 | 9240:636cfa97200e |
---|---|
14 int read_viminfo(char_u *file, int flags); | 14 int read_viminfo(char_u *file, int flags); |
15 void write_viminfo(char_u *file, int forceit); | 15 void write_viminfo(char_u *file, int forceit); |
16 int viminfo_readline(vir_T *virp); | 16 int viminfo_readline(vir_T *virp); |
17 char_u *viminfo_readstring(vir_T *virp, int off, int convert); | 17 char_u *viminfo_readstring(vir_T *virp, int off, int convert); |
18 void viminfo_writestring(FILE *fd, char_u *p); | 18 void viminfo_writestring(FILE *fd, char_u *p); |
19 int barline_writestring(FILE *fd, char_u *s, int remaining_start); | |
19 void do_fixdel(exarg_T *eap); | 20 void do_fixdel(exarg_T *eap); |
20 void print_line_no_prefix(linenr_T lnum, int use_number, int list); | 21 void print_line_no_prefix(linenr_T lnum, int use_number, int list); |
21 void print_line(linenr_T lnum, int use_number, int list); | 22 void print_line(linenr_T lnum, int use_number, int list); |
22 int rename_buffer(char_u *new_fname); | 23 int rename_buffer(char_u *new_fname); |
23 void ex_file(exarg_T *eap); | 24 void ex_file(exarg_T *eap); |