0
0
mirror of https://github.com/vim/vim.git synced 2025-10-14 07:04:10 -04:00

patch 8.1.1961: more functions can be used as a method

Problem:    More functions can be used as a method.
Solution:   Allow more functions to be used as a method.  Add a test for
            mapcheck().
This commit is contained in:
Bram Moolenaar
2019-09-01 20:16:52 +02:00
parent db022f3ffb
commit a144983633
8 changed files with 110 additions and 28 deletions

View File

@@ -655,23 +655,23 @@ static funcentry_T global_functions[] =
{"luaeval", 1, 2, FEARG_1, f_luaeval},
#endif
{"map", 2, 2, FEARG_1, f_map},
{"maparg", 1, 4, 0, f_maparg},
{"mapcheck", 1, 3, 0, f_mapcheck},
{"match", 2, 4, 0, f_match},
{"matchadd", 2, 5, 0, f_matchadd},
{"matchaddpos", 2, 5, 0, f_matchaddpos},
{"matcharg", 1, 1, 0, f_matcharg},
{"matchdelete", 1, 2, 0, f_matchdelete},
{"matchend", 2, 4, 0, f_matchend},
{"matchlist", 2, 4, 0, f_matchlist},
{"matchstr", 2, 4, 0, f_matchstr},
{"matchstrpos", 2, 4, 0, f_matchstrpos},
{"maparg", 1, 4, FEARG_1, f_maparg},
{"mapcheck", 1, 3, FEARG_1, f_mapcheck},
{"match", 2, 4, FEARG_1, f_match},
{"matchadd", 2, 5, FEARG_1, f_matchadd},
{"matchaddpos", 2, 5, FEARG_1, f_matchaddpos},
{"matcharg", 1, 1, FEARG_1, f_matcharg},
{"matchdelete", 1, 2, FEARG_1, f_matchdelete},
{"matchend", 2, 4, FEARG_1, f_matchend},
{"matchlist", 2, 4, FEARG_1, f_matchlist},
{"matchstr", 2, 4, FEARG_1, f_matchstr},
{"matchstrpos", 2, 4, FEARG_1, f_matchstrpos},
{"max", 1, 1, FEARG_1, f_max},
{"min", 1, 1, FEARG_1, f_min},
{"mkdir", 1, 3, 0, f_mkdir},
{"mode", 0, 1, 0, f_mode},
{"mkdir", 1, 3, FEARG_1, f_mkdir},
{"mode", 0, 1, FEARG_1, f_mode},
#ifdef FEAT_MZSCHEME
{"mzeval", 1, 1, 0, f_mzeval},
{"mzeval", 1, 1, FEARG_1, f_mzeval},
#endif
{"nextnonblank", 1, 1, 0, f_nextnonblank},
{"nr2char", 1, 2, 0, f_nr2char},