]> granicus.if.org Git - vim/commitdiff
patch 8.2.3576: some functions are not documented for use with a method v8.2.3576
authorSean Dewar <seandewar@users.noreply.github.com>
Wed, 3 Nov 2021 13:15:47 +0000 (13:15 +0000)
committerBram Moolenaar <Bram@vim.org>
Wed, 3 Nov 2021 13:15:47 +0000 (13:15 +0000)
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)

src/evalfunc.c
src/version.c

index 08438242b6ed5a07024260d956cbbed81c653b5f..bbea3b1c93225c7fa32e7c07b29435bc953f0e50 100644 (file)
@@ -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},
index 27331c95dc2cf35e063ba19323384c0378d42013..c8ea131ee351666991e94d6e9fcdb56786d3df4a 100644 (file)
@@ -757,6 +757,8 @@ static char *(features[]) =
 
 static int included_patches[] =
 {   /* Add new patch number below this line */
+/**/
+    3576,
 /**/
     3575,
 /**/