diff options
author | h-east <h.east.727@gmail.com> | 2021-07-26 21:54:04 +0200 |
---|---|---|
committer | Bram Moolenaar <Bram@vim.org> | 2021-07-26 21:54:04 +0200 |
commit | 29b857150c111a455f1a38a8f748243524f692e1 (patch) | |
tree | 461095b2d225d6bc7d2bf62abc12c66071823e5b /src/evalfunc.c | |
parent | ccb148ac63941feba879ea4678aa4713d81494f2 (diff) |
patch 8.2.3226: new digraph functions use old naming schemev8.2.3226
Problem: New digraph functions use old naming scheme.
Solution: Use the digraph_ prefix. (Hirohito Higashi, closes #8580)
Diffstat (limited to 'src/evalfunc.c')
-rw-r--r-- | src/evalfunc.c | 16 |
1 files changed, 8 insertions, 8 deletions
diff --git a/src/evalfunc.c b/src/evalfunc.c index 1091e562a3..2a9c972f99 100644 --- a/src/evalfunc.c +++ b/src/evalfunc.c @@ -1292,6 +1292,14 @@ static funcentry_T global_functions[] = ret_number, f_diff_filler}, {"diff_hlID", 2, 2, FEARG_1, arg2_lnum_number, ret_number, f_diff_hlID}, + {"digraph_get", 1, 1, FEARG_1, arg1_string, + ret_string, f_digraph_get}, + {"digraph_getlist",0, 1, FEARG_1, arg1_number, + ret_list_string_items, f_digraph_getlist}, + {"digraph_set", 2, 2, FEARG_1, arg2_string_number, + ret_bool, f_digraph_set}, + {"digraph_setlist",1, 1, FEARG_1, arg1_list_string, + ret_bool, f_digraph_setlist}, {"echoraw", 1, 1, FEARG_1, arg1_string, ret_void, f_echoraw}, {"empty", 1, 1, FEARG_1, NULL, @@ -1406,10 +1414,6 @@ static funcentry_T global_functions[] = ret_list_number, f_getcursorcharpos}, {"getcwd", 0, 2, FEARG_1, arg2_number, ret_string, f_getcwd}, - {"getdigraph", 1, 1, FEARG_1, arg1_string, - ret_string, f_getdigraph}, - {"getdigraphlist", 0, 1, FEARG_1, arg1_number, - ret_list_string_items, f_getdigraphlist}, {"getenv", 1, 1, FEARG_1, arg1_string, ret_any, f_getenv}, {"getfontname", 0, 1, 0, arg1_string, @@ -1870,10 +1874,6 @@ static funcentry_T global_functions[] = ret_number_bool, f_setcmdpos}, {"setcursorcharpos", 1, 3, FEARG_1, arg13_cursor, ret_number_bool, f_setcursorcharpos}, - {"setdigraph", 2, 2, FEARG_1, arg2_string_number, - ret_bool, f_setdigraph}, - {"setdigraphlist", 1, 1, FEARG_1, arg1_list_string, - ret_bool, f_setdigraphlist}, {"setenv", 2, 2, FEARG_2, arg2_string_any, ret_void, f_setenv}, {"setfperm", 2, 2, FEARG_1, arg2_string, |