diff options
author | Bram Moolenaar <Bram@vim.org> | 2020-07-18 22:24:22 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2020-07-18 22:24:22 +0200 |
commit | 6434fc574dfbde11461e70e5a62712370edf38e6 (patch) | |
tree | f815722df00d589059fba4aa574e49db7e597be7 /src/evalfunc.c | |
parent | 10e1d01aaf5504675fd9197c75d1da0de0e5b429 (diff) |
patch 8.2.1241: cannot use getbufinfo() as a methodv8.2.1241
Problem: Cannot use getbufinfo() as a method.
Solution: Support using getbufinfo() as a method. (closes #6458)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 3f38fa7f54..5de49c5d5f 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -611,7 +611,7 @@ static funcentry_T global_functions[] = {"function", 1, 3, FEARG_1, ret_f_function, f_function}, {"garbagecollect", 0, 1, 0, ret_void, f_garbagecollect}, {"get", 2, 3, FEARG_1, ret_any, f_get}, - {"getbufinfo", 0, 1, 0, ret_list_dict_any, f_getbufinfo}, + {"getbufinfo", 0, 1, FEARG_1, ret_list_dict_any, f_getbufinfo}, {"getbufline", 2, 3, FEARG_1, ret_list_string, f_getbufline}, {"getbufvar", 2, 3, FEARG_1, ret_any, f_getbufvar}, {"getchangelist", 0, 1, FEARG_1, ret_list_any, f_getchangelist}, |