mirror of
https://github.com/vim/vim.git
synced 2025-10-13 06:54:15 -04:00
patch 8.2.0877: cannot get the search statistics
Problem: Cannot get the search statistics. Solution: Add the searchcount() function. (Fujiwara Takuya, closes #4446)
This commit is contained in:
@@ -801,6 +801,7 @@ static funcentry_T global_functions[] =
|
||||
{"screenrow", 0, 0, 0, ret_number, f_screenrow},
|
||||
{"screenstring", 2, 2, FEARG_1, ret_string, f_screenstring},
|
||||
{"search", 1, 4, FEARG_1, ret_number, f_search},
|
||||
{"searchcount", 0, 1, FEARG_1, ret_dict_any, f_searchcount},
|
||||
{"searchdecl", 1, 3, FEARG_1, ret_number, f_searchdecl},
|
||||
{"searchpair", 3, 7, 0, ret_number, f_searchpair},
|
||||
{"searchpairpos", 3, 7, 0, ret_list_number, f_searchpairpos},
|
||||
|
Reference in New Issue
Block a user