Mercurial > vim
comparison src/proto/viminfo.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 | 3e708b5c0509 |
children | 18d7337b6837 |
comparison
equal
deleted
inserted
replaced
17475:8584e1c0e426 | 17476:d4b2a212fa2f |
---|---|
1 /* viminfo.c */ | 1 /* viminfo.c */ |
2 int viminfo_error(char *errnum, char *message, char_u *line); | 2 int get_viminfo_parameter(int type); |
3 void check_marks_read(void); | |
3 int read_viminfo(char_u *file, int flags); | 4 int read_viminfo(char_u *file, int flags); |
4 void write_viminfo(char_u *file, int forceit); | 5 void write_viminfo(char_u *file, int forceit); |
5 int viminfo_readline(vir_T *virp); | |
6 char_u *viminfo_readstring(vir_T *virp, int off, int convert); | |
7 void viminfo_writestring(FILE *fd, char_u *p); | |
8 int barline_writestring(FILE *fd, char_u *s, int remaining_start); | |
9 void ex_viminfo(exarg_T *eap); | 6 void ex_viminfo(exarg_T *eap); |
10 int read_viminfo_filemark(vir_T *virp, int force); | |
11 void prepare_viminfo_marks(void); | |
12 void finish_viminfo_marks(void); | |
13 void handle_viminfo_mark(garray_T *values, int force); | |
14 void write_viminfo_filemarks(FILE *fp); | |
15 int removable(char_u *name); | |
16 void write_viminfo_marks(FILE *fp_out, garray_T *buflist); | |
17 void copy_viminfo_marks(vir_T *virp, FILE *fp_out, garray_T *buflist, int eof, int flags); | |
18 /* vim: set ft=c : */ | 7 /* vim: set ft=c : */ |