diff options
author | Sean Dewar <seandewar@users.noreply.github.com> | 2021-11-03 13:15:47 +0000 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-11-03 13:15:47 +0000 |
commit | a63780b9770699bf8fda93affeab2c728bc76912 (patch) | |
tree | 221d458a44f7968f9af8b805b170be7c79a59942 /src/evalfunc.c | |
parent | e551ccfb9311eea5252d1c3106ff7a53c762d994 (diff) |
patch 8.2.3576: some functions are not documented for use with a methodv8.2.3576
Problem: Some functions are not documented for use with a method.
Solution: Add examples. Fix that sign_unplacelist() only takes one
argument. (Sean Dewar, closes #9081)
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 08438242b6..bbea3b1c93 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1955,7 +1955,7 @@ static funcentry_T global_functions[] = ret_number_bool, SIGN_FUNC(f_sign_undefine)}, {"sign_unplace", 1, 2, FEARG_1, arg2_string_dict, ret_number_bool, SIGN_FUNC(f_sign_unplace)}, - {"sign_unplacelist", 1, 2, FEARG_1, arg1_list_any, + {"sign_unplacelist", 1, 1, FEARG_1, arg1_list_any, ret_list_number, SIGN_FUNC(f_sign_unplacelist)}, {"simplify", 1, 1, FEARG_1, arg1_string, ret_string, f_simplify}, |