diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-04 21:57:18 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-04 21:57:18 +0200 |
commit | a5a7882ea4a21944924b778208e1d54734891033 (patch) | |
tree | 4a65d762e9c89943a98f0934f21202c47897f42d /src/evalfunc.c | |
parent | 26262f87770d3a1a68b09a70152d75c2e2ae186f (diff) |
patch 8.1.1986: more functions can be used as methodsv8.1.1986
Problem: More functions can be used as methods.
Solution: Make textprop functions usable as a method.
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index e14aa0452e..13326e32b9 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -663,15 +663,15 @@ static funcentry_T global_functions[] = {"prompt_setprompt", 2, 2, FEARG_1, f_prompt_setprompt}, #endif #ifdef FEAT_TEXT_PROP - {"prop_add", 3, 3, 0, f_prop_add}, - {"prop_clear", 1, 3, 0, f_prop_clear}, - {"prop_list", 1, 2, 0, f_prop_list}, - {"prop_remove", 1, 3, 0, f_prop_remove}, - {"prop_type_add", 2, 2, 0, f_prop_type_add}, - {"prop_type_change", 2, 2, 0, f_prop_type_change}, - {"prop_type_delete", 1, 2, 0, f_prop_type_delete}, - {"prop_type_get", 1, 2, 0, f_prop_type_get}, - {"prop_type_list", 0, 1, 0, f_prop_type_list}, + {"prop_add", 3, 3, FEARG_1, f_prop_add}, + {"prop_clear", 1, 3, FEARG_1, f_prop_clear}, + {"prop_list", 1, 2, FEARG_1, f_prop_list}, + {"prop_remove", 1, 3, FEARG_1, f_prop_remove}, + {"prop_type_add", 2, 2, FEARG_1, f_prop_type_add}, + {"prop_type_change", 2, 2, FEARG_1, f_prop_type_change}, + {"prop_type_delete", 1, 2, FEARG_1, f_prop_type_delete}, + {"prop_type_get", 1, 2, FEARG_1, f_prop_type_get}, + {"prop_type_list", 0, 1, FEARG_1, f_prop_type_list}, #endif {"pum_getpos", 0, 0, 0, f_pum_getpos}, {"pumvisible", 0, 0, 0, f_pumvisible}, |