diff options
author | Bram Moolenaar <Bram@vim.org> | 2019-09-06 22:00:54 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2019-09-06 22:00:54 +0200 |
commit | 93476fd6343ef40d088e064289cc279659d03953 (patch) | |
tree | 6a30cf06c6e9446de38705c440d4fecbf0021afd /src/evalfunc.c | |
parent | 5ec849896f73c82030e4a59377361d0f93c6476f (diff) |
patch 8.1.1995: more functions can be used as methodsv8.1.1995
Problem: More functions can be used as methods.
Solution: Make sign 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 f302df773a..2949c8920f 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -736,15 +736,15 @@ static funcentry_T global_functions[] = {"shellescape", 1, 2, 0, f_shellescape}, {"shiftwidth", 0, 1, 0, f_shiftwidth}, #ifdef FEAT_SIGNS - {"sign_define", 1, 2, 0, f_sign_define}, - {"sign_getdefined", 0, 1, 0, f_sign_getdefined}, - {"sign_getplaced", 0, 2, 0, f_sign_getplaced}, - {"sign_jump", 3, 3, 0, f_sign_jump}, - {"sign_place", 4, 5, 0, f_sign_place}, - {"sign_placelist", 1, 1, 0, f_sign_placelist}, - {"sign_undefine", 0, 1, 0, f_sign_undefine}, - {"sign_unplace", 1, 2, 0, f_sign_unplace}, - {"sign_unplacelist", 1, 2, 0, f_sign_unplacelist}, + {"sign_define", 1, 2, FEARG_1, f_sign_define}, + {"sign_getdefined", 0, 1, FEARG_1, f_sign_getdefined}, + {"sign_getplaced", 0, 2, FEARG_1, f_sign_getplaced}, + {"sign_jump", 3, 3, FEARG_1, f_sign_jump}, + {"sign_place", 4, 5, FEARG_1, f_sign_place}, + {"sign_placelist", 1, 1, FEARG_1, f_sign_placelist}, + {"sign_undefine", 0, 1, FEARG_1, f_sign_undefine}, + {"sign_unplace", 1, 2, FEARG_1, f_sign_unplace}, + {"sign_unplacelist", 1, 2, FEARG_1, f_sign_unplacelist}, #endif {"simplify", 1, 1, 0, f_simplify}, #ifdef FEAT_FLOAT |