Mercurial > vim
comparison src/proto/search.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 | db5d2429bda3 |
children | 34d5cd432cac |
comparison
equal
deleted
inserted
replaced
17475:8584e1c0e426 | 17476:d4b2a212fa2f |
---|---|
44 int current_par(oparg_T *oap, long count, int include, int type); | 44 int current_par(oparg_T *oap, long count, int include, int type); |
45 int current_quote(oparg_T *oap, long count, int include, int quotechar); | 45 int current_quote(oparg_T *oap, long count, int include, int quotechar); |
46 int current_search(long count, int forward); | 46 int current_search(long count, int forward); |
47 int linewhite(linenr_T lnum); | 47 int linewhite(linenr_T lnum); |
48 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); | 48 void find_pattern_in_path(char_u *ptr, int dir, int len, int whole, int skip_comments, int type, long count, int action, linenr_T start_lnum, linenr_T end_lnum); |
49 int read_viminfo_search_pattern(vir_T *virp, int force); | 49 struct spat *get_spat(int idx); |
50 void write_viminfo_search_pattern(FILE *fp); | 50 int get_spat_last_idx(void); |
51 /* vim: set ft=c : */ | 51 /* vim: set ft=c : */ |