Mercurial > vim
diff src/proto/ex_cmds.pro @ 17476:d4b2a212fa2f v8.1.1736
patch 8.1.1736: viminfo support is spread out
commit https://github.com/vim/vim/commit/c3328169d5566b97a6a6921067017e4369dd7cd6
Author: Bram Moolenaar <Bram@vim.org>
Date: Tue Jul 23 22:15:25 2019 +0200
patch 8.1.1736: viminfo support is spread out
Problem: Viminfo support is spread out.
Solution: Move more viminfo code to viminfo.c. (Yegappan Lakshmanan,
closes #4717) Reorder code to make most functions static.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Tue, 23 Jul 2019 22:30:07 +0200 |
parents | cfdef48743ed |
children | c75da1064e33 |
line wrap: on
line diff
--- a/src/proto/ex_cmds.pro +++ b/src/proto/ex_cmds.pro @@ -34,8 +34,8 @@ void do_sub(exarg_T *eap); int do_sub_msg(int count_only); void ex_global(exarg_T *eap); void global_exe(char_u *cmd); -int read_viminfo_sub_string(vir_T *virp, int force); -void write_viminfo_sub_string(FILE *fp); +char_u *get_old_sub(void); +void set_old_sub(char_u *val); void free_old_sub(void); int prepare_tagpreview(int undo_sync); void ex_help(exarg_T *eap);