summaryrefslogtreecommitdiffstats
path: root/src/proto/search.pro
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2020-06-01 17:28:35 +0200
committerBram Moolenaar <Bram@vim.org>2020-06-01 17:28:35 +0200
commite8f5ec0d30b629d7166f0ad03434065d8bc822df (patch)
tree47f18763d1948a5ceb7f421af8f904ca0db5d997 /src/proto/search.pro
parent950587242cad52d067a15f0f0c83528a28f75731 (diff)
patch 8.2.0877: cannot get the search statisticsv8.2.0877
Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
Diffstat (limited to 'src/proto/search.pro')
-rw-r--r--src/proto/search.pro1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/proto/search.pro b/src/proto/search.pro
index 1e15a8828e..ccad0fb8eb 100644
--- a/src/proto/search.pro
+++ b/src/proto/search.pro
@@ -35,4 +35,5 @@ int linewhite(linenr_T lnum);
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);
spat_T *get_spat(int idx);
int get_spat_last_idx(void);
+void f_searchcount(typval_T *argvars, typval_T *rettv);
/* vim: set ft=c : */