mirror of
https://github.com/vim/vim.git
synced 2025-10-16 07:24:23 -04:00
patch 8.1.1954: more functions can be used as a method
Problem: More functions can be used as a method. Solution: Allow more functions to be used as a method.
This commit is contained in:
@@ -635,29 +635,29 @@ static funcentry_T global_functions[] =
|
||||
{"job_stop", 1, 2, FEARG_1, f_job_stop},
|
||||
#endif
|
||||
{"join", 1, 2, FEARG_1, f_join},
|
||||
{"js_decode", 1, 1, 0, f_js_decode},
|
||||
{"js_encode", 1, 1, 0, f_js_encode},
|
||||
{"json_decode", 1, 1, 0, f_json_decode},
|
||||
{"json_encode", 1, 1, 0, f_json_encode},
|
||||
{"js_decode", 1, 1, FEARG_1, f_js_decode},
|
||||
{"js_encode", 1, 1, FEARG_1, f_js_encode},
|
||||
{"json_decode", 1, 1, FEARG_1, f_json_decode},
|
||||
{"json_encode", 1, 1, FEARG_1, f_json_encode},
|
||||
{"keys", 1, 1, FEARG_1, f_keys},
|
||||
{"last_buffer_nr", 0, 0, 0, f_last_buffer_nr}, // obsolete
|
||||
{"len", 1, 1, FEARG_1, f_len},
|
||||
{"libcall", 3, 3, 0, f_libcall},
|
||||
{"libcallnr", 3, 3, 0, f_libcallnr},
|
||||
{"line", 1, 1, 0, f_line},
|
||||
{"line2byte", 1, 1, 0, f_line2byte},
|
||||
{"lispindent", 1, 1, 0, f_lispindent},
|
||||
{"list2str", 1, 2, 0, f_list2str},
|
||||
{"listener_add", 1, 2, 0, f_listener_add},
|
||||
{"listener_flush", 0, 1, 0, f_listener_flush},
|
||||
{"listener_remove", 1, 1, 0, f_listener_remove},
|
||||
{"libcall", 3, 3, FEARG_3, f_libcall},
|
||||
{"libcallnr", 3, 3, FEARG_3, f_libcallnr},
|
||||
{"line", 1, 1, FEARG_1, f_line},
|
||||
{"line2byte", 1, 1, FEARG_1, f_line2byte},
|
||||
{"lispindent", 1, 1, FEARG_1, f_lispindent},
|
||||
{"list2str", 1, 2, FEARG_1, f_list2str},
|
||||
{"listener_add", 1, 2, FEARG_2, f_listener_add},
|
||||
{"listener_flush", 0, 1, FEARG_1, f_listener_flush},
|
||||
{"listener_remove", 1, 1, FEARG_1, f_listener_remove},
|
||||
{"localtime", 0, 0, 0, f_localtime},
|
||||
#ifdef FEAT_FLOAT
|
||||
{"log", 1, 1, FEARG_1, f_log},
|
||||
{"log10", 1, 1, FEARG_1, f_log10},
|
||||
#endif
|
||||
#ifdef FEAT_LUA
|
||||
{"luaeval", 1, 2, 0, f_luaeval},
|
||||
{"luaeval", 1, 2, FEARG_1, f_luaeval},
|
||||
#endif
|
||||
{"map", 2, 2, FEARG_1, f_map},
|
||||
{"maparg", 1, 4, 0, f_maparg},
|
||||
|
Reference in New Issue
Block a user