Mercurial > vim
changeset 26085:afc5987e9670 v8.2.3576
patch 8.2.3576: some functions are not documented for use with a method
Commit: https://github.com/vim/vim/commit/a63780b9770699bf8fda93affeab2c728bc76912
Author: Sean Dewar <seandewar@users.noreply.github.com>
Date: Wed Nov 3 13:15:47 2021 +0000
patch 8.2.3576: some functions are not documented for use with a method
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)
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Wed, 03 Nov 2021 14:30:04 +0100 |
parents | c83eab168e0a |
children | 781b2d806215 |
files | src/evalfunc.c src/version.c |
diffstat | 2 files changed, 3 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- 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},