Improve coding style

This commit is contained in:
watiko
2015-12-19 12:33:09 +09:00
parent 59b04d856b
commit f350655ddd

View File

@@ -313,71 +313,71 @@ static struct vimvar {
* The order here must match the VV_ defines in eval.h!
* Initializing a union does not work, leave tv.vval empty to get zero's.
*/
{VV_NAME("count", VAR_NUMBER), VV_COMPAT+VV_RO},
{VV_NAME("count1", VAR_NUMBER), VV_RO},
{VV_NAME("prevcount", VAR_NUMBER), VV_RO},
{VV_NAME("errmsg", VAR_STRING), VV_COMPAT},
{VV_NAME("warningmsg", VAR_STRING), 0},
{VV_NAME("statusmsg", VAR_STRING), 0},
{VV_NAME("shell_error", VAR_NUMBER), VV_COMPAT+VV_RO},
{VV_NAME("this_session", VAR_STRING), VV_COMPAT},
{VV_NAME("version", VAR_NUMBER), VV_COMPAT+VV_RO},
{VV_NAME("lnum", VAR_NUMBER), VV_RO_SBX},
{VV_NAME("termresponse", VAR_STRING), VV_RO},
{VV_NAME("fname", VAR_STRING), VV_RO},
{VV_NAME("lang", VAR_STRING), VV_RO},
{VV_NAME("lc_time", VAR_STRING), VV_RO},
{VV_NAME("ctype", VAR_STRING), VV_RO},
{VV_NAME("charconvert_from", VAR_STRING), VV_RO},
{VV_NAME("charconvert_to", VAR_STRING), VV_RO},
{VV_NAME("fname_in", VAR_STRING), VV_RO},
{VV_NAME("fname_out", VAR_STRING), VV_RO},
{VV_NAME("fname_new", VAR_STRING), VV_RO},
{VV_NAME("fname_diff", VAR_STRING), VV_RO},
{VV_NAME("cmdarg", VAR_STRING), VV_RO},
{VV_NAME("foldstart", VAR_NUMBER), VV_RO_SBX},
{VV_NAME("foldend", VAR_NUMBER), VV_RO_SBX},
{VV_NAME("folddashes", VAR_STRING), VV_RO_SBX},
{VV_NAME("foldlevel", VAR_NUMBER), VV_RO_SBX},
{VV_NAME("progname", VAR_STRING), VV_RO},
{VV_NAME("servername", VAR_STRING), VV_RO},
{VV_NAME("dying", VAR_NUMBER), VV_RO},
{VV_NAME("exception", VAR_STRING), VV_RO},
{VV_NAME("throwpoint", VAR_STRING), VV_RO},
{VV_NAME("register", VAR_STRING), VV_RO},
{VV_NAME("cmdbang", VAR_NUMBER), VV_RO},
{VV_NAME("insertmode", VAR_STRING), VV_RO},
{VV_NAME("val", VAR_UNKNOWN), VV_RO},
{VV_NAME("key", VAR_UNKNOWN), VV_RO},
{VV_NAME("profiling", VAR_NUMBER), VV_RO},
{VV_NAME("fcs_reason", VAR_STRING), VV_RO},
{VV_NAME("fcs_choice", VAR_STRING), 0},
{VV_NAME("beval_bufnr", VAR_NUMBER), VV_RO},
{VV_NAME("beval_winnr", VAR_NUMBER), VV_RO},
{VV_NAME("beval_lnum", VAR_NUMBER), VV_RO},
{VV_NAME("beval_col", VAR_NUMBER), VV_RO},
{VV_NAME("beval_text", VAR_STRING), VV_RO},
{VV_NAME("scrollstart", VAR_STRING), 0},
{VV_NAME("swapname", VAR_STRING), VV_RO},
{VV_NAME("swapchoice", VAR_STRING), 0},
{VV_NAME("swapcommand", VAR_STRING), VV_RO},
{VV_NAME("char", VAR_STRING), 0},
{VV_NAME("mouse_win", VAR_NUMBER), 0},
{VV_NAME("mouse_lnum", VAR_NUMBER), 0},
{VV_NAME("mouse_col", VAR_NUMBER), 0},
{VV_NAME("operator", VAR_STRING), VV_RO},
{VV_NAME("searchforward", VAR_NUMBER), 0},
{VV_NAME("hlsearch", VAR_NUMBER), 0},
{VV_NAME("oldfiles", VAR_LIST), 0},
{VV_NAME("windowid", VAR_NUMBER), VV_RO},
{VV_NAME("progpath", VAR_STRING), VV_RO},
{VV_NAME("command_output", VAR_STRING), 0},
{VV_NAME("completed_item", VAR_DICT), VV_RO},
{VV_NAME("option_new", VAR_STRING), VV_RO},
{VV_NAME("option_old", VAR_STRING), VV_RO},
{VV_NAME("option_type", VAR_STRING), VV_RO},
{VV_NAME("errors", VAR_LIST), 0},
{VV_NAME("msgpack_types", VAR_DICT), VV_RO},
{ VV_NAME("count", VAR_NUMBER), VV_COMPAT+VV_RO },
{ VV_NAME("count1", VAR_NUMBER), VV_RO },
{ VV_NAME("prevcount", VAR_NUMBER), VV_RO },
{ VV_NAME("errmsg", VAR_STRING), VV_COMPAT },
{ VV_NAME("warningmsg", VAR_STRING), 0 },
{ VV_NAME("statusmsg", VAR_STRING), 0 },
{ VV_NAME("shell_error", VAR_NUMBER), VV_COMPAT+VV_RO },
{ VV_NAME("this_session", VAR_STRING), VV_COMPAT },
{ VV_NAME("version", VAR_NUMBER), VV_COMPAT+VV_RO },
{ VV_NAME("lnum", VAR_NUMBER), VV_RO_SBX },
{ VV_NAME("termresponse", VAR_STRING), VV_RO },
{ VV_NAME("fname", VAR_STRING), VV_RO },
{ VV_NAME("lang", VAR_STRING), VV_RO },
{ VV_NAME("lc_time", VAR_STRING), VV_RO },
{ VV_NAME("ctype", VAR_STRING), VV_RO },
{ VV_NAME("charconvert_from", VAR_STRING), VV_RO },
{ VV_NAME("charconvert_to", VAR_STRING), VV_RO },
{ VV_NAME("fname_in", VAR_STRING), VV_RO },
{ VV_NAME("fname_out", VAR_STRING), VV_RO },
{ VV_NAME("fname_new", VAR_STRING), VV_RO },
{ VV_NAME("fname_diff", VAR_STRING), VV_RO },
{ VV_NAME("cmdarg", VAR_STRING), VV_RO },
{ VV_NAME("foldstart", VAR_NUMBER), VV_RO_SBX },
{ VV_NAME("foldend", VAR_NUMBER), VV_RO_SBX },
{ VV_NAME("folddashes", VAR_STRING), VV_RO_SBX },
{ VV_NAME("foldlevel", VAR_NUMBER), VV_RO_SBX },
{ VV_NAME("progname", VAR_STRING), VV_RO },
{ VV_NAME("servername", VAR_STRING), VV_RO },
{ VV_NAME("dying", VAR_NUMBER), VV_RO },
{ VV_NAME("exception", VAR_STRING), VV_RO },
{ VV_NAME("throwpoint", VAR_STRING), VV_RO },
{ VV_NAME("register", VAR_STRING), VV_RO },
{ VV_NAME("cmdbang", VAR_NUMBER), VV_RO },
{ VV_NAME("insertmode", VAR_STRING), VV_RO },
{ VV_NAME("val", VAR_UNKNOWN), VV_RO },
{ VV_NAME("key", VAR_UNKNOWN), VV_RO },
{ VV_NAME("profiling", VAR_NUMBER), VV_RO },
{ VV_NAME("fcs_reason", VAR_STRING), VV_RO },
{ VV_NAME("fcs_choice", VAR_STRING), 0 },
{ VV_NAME("beval_bufnr", VAR_NUMBER), VV_RO },
{ VV_NAME("beval_winnr", VAR_NUMBER), VV_RO },
{ VV_NAME("beval_lnum", VAR_NUMBER), VV_RO },
{ VV_NAME("beval_col", VAR_NUMBER), VV_RO },
{ VV_NAME("beval_text", VAR_STRING), VV_RO },
{ VV_NAME("scrollstart", VAR_STRING), 0 },
{ VV_NAME("swapname", VAR_STRING), VV_RO },
{ VV_NAME("swapchoice", VAR_STRING), 0 },
{ VV_NAME("swapcommand", VAR_STRING), VV_RO },
{ VV_NAME("char", VAR_STRING), 0 },
{ VV_NAME("mouse_win", VAR_NUMBER), 0 },
{ VV_NAME("mouse_lnum", VAR_NUMBER), 0 },
{ VV_NAME("mouse_col", VAR_NUMBER), 0 },
{ VV_NAME("operator", VAR_STRING), VV_RO },
{ VV_NAME("searchforward", VAR_NUMBER), 0 },
{ VV_NAME("hlsearch", VAR_NUMBER), 0 },
{ VV_NAME("oldfiles", VAR_LIST), 0 },
{ VV_NAME("windowid", VAR_NUMBER), VV_RO },
{ VV_NAME("progpath", VAR_STRING), VV_RO },
{ VV_NAME("command_output", VAR_STRING), 0 },
{ VV_NAME("completed_item", VAR_DICT), VV_RO },
{ VV_NAME("option_new", VAR_STRING), VV_RO },
{ VV_NAME("option_old", VAR_STRING), VV_RO },
{ VV_NAME("option_type", VAR_STRING), VV_RO },
{ VV_NAME("errors", VAR_LIST), 0 },
{ VV_NAME("msgpack_types", VAR_DICT), VV_RO },
};
/* shorthand */
@@ -7092,298 +7092,298 @@ static struct fst {
/* implementation of function */
} functions[] =
{
{"abs", 1, 1, f_abs},
{"acos", 1, 1, f_acos}, /* WJMc */
{"add", 2, 2, f_add},
{"and", 2, 2, f_and},
{"append", 2, 2, f_append},
{"argc", 0, 0, f_argc},
{"argidx", 0, 0, f_argidx},
{"arglistid", 0, 2, f_arglistid},
{"argv", 0, 1, f_argv},
{"asin", 1, 1, f_asin}, // WJMc
{"assert_equal", 2, 3, f_assert_equal},
{"assert_false", 1, 2, f_assert_false},
{"assert_true", 1, 2, f_assert_true},
{"atan", 1, 1, f_atan},
{"atan2", 2, 2, f_atan2},
{"browse", 4, 4, f_browse},
{"browsedir", 2, 2, f_browsedir},
{"bufexists", 1, 1, f_bufexists},
{"buffer_exists", 1, 1, f_bufexists}, /* obsolete */
{"buffer_name", 1, 1, f_bufname}, /* obsolete */
{"buffer_number", 1, 1, f_bufnr}, /* obsolete */
{"buflisted", 1, 1, f_buflisted},
{"bufloaded", 1, 1, f_bufloaded},
{"bufname", 1, 1, f_bufname},
{"bufnr", 1, 2, f_bufnr},
{"bufwinnr", 1, 1, f_bufwinnr},
{"byte2line", 1, 1, f_byte2line},
{"byteidx", 2, 2, f_byteidx},
{"byteidxcomp", 2, 2, f_byteidxcomp},
{"call", 2, 3, f_call},
{"ceil", 1, 1, f_ceil},
{"changenr", 0, 0, f_changenr},
{"char2nr", 1, 2, f_char2nr},
{"cindent", 1, 1, f_cindent},
{"clearmatches", 0, 0, f_clearmatches},
{"col", 1, 1, f_col},
{"complete", 2, 2, f_complete},
{"complete_add", 1, 1, f_complete_add},
{"complete_check", 0, 0, f_complete_check},
{"confirm", 1, 4, f_confirm},
{"copy", 1, 1, f_copy},
{"cos", 1, 1, f_cos},
{"cosh", 1, 1, f_cosh},
{"count", 2, 4, f_count},
{"cscope_connection",0,3, f_cscope_connection},
{"cursor", 1, 3, f_cursor},
{"deepcopy", 1, 2, f_deepcopy},
{"delete", 1, 1, f_delete},
{"dictwatcheradd", 3, 3, f_dictwatcheradd},
{"dictwatcherdel", 3, 3, f_dictwatcherdel},
{"did_filetype", 0, 0, f_did_filetype},
{"diff_filler", 1, 1, f_diff_filler},
{"diff_hlID", 2, 2, f_diff_hlID},
{"empty", 1, 1, f_empty},
{"escape", 2, 2, f_escape},
{"eval", 1, 1, f_eval},
{"eventhandler", 0, 0, f_eventhandler},
{"executable", 1, 1, f_executable},
{"exepath", 1, 1, f_exepath},
{"exists", 1, 1, f_exists},
{"exp", 1, 1, f_exp},
{"expand", 1, 3, f_expand},
{"extend", 2, 3, f_extend},
{"feedkeys", 1, 2, f_feedkeys},
{"file_readable", 1, 1, f_filereadable}, /* obsolete */
{"filereadable", 1, 1, f_filereadable},
{"filewritable", 1, 1, f_filewritable},
{"filter", 2, 2, f_filter},
{"finddir", 1, 3, f_finddir},
{"findfile", 1, 3, f_findfile},
{"float2nr", 1, 1, f_float2nr},
{"floor", 1, 1, f_floor},
{"fmod", 2, 2, f_fmod},
{"fnameescape", 1, 1, f_fnameescape},
{"fnamemodify", 2, 2, f_fnamemodify},
{"foldclosed", 1, 1, f_foldclosed},
{"foldclosedend", 1, 1, f_foldclosedend},
{"foldlevel", 1, 1, f_foldlevel},
{"foldtext", 0, 0, f_foldtext},
{"foldtextresult", 1, 1, f_foldtextresult},
{"foreground", 0, 0, f_foreground},
{"function", 1, 1, f_function},
{"garbagecollect", 0, 1, f_garbagecollect},
{"get", 2, 3, f_get},
{"getbufline", 2, 3, f_getbufline},
{"getbufvar", 2, 3, f_getbufvar},
{"getchar", 0, 1, f_getchar},
{"getcharmod", 0, 0, f_getcharmod},
{"getcharsearch", 0, 0, f_getcharsearch},
{"getcmdline", 0, 0, f_getcmdline},
{"getcmdpos", 0, 0, f_getcmdpos},
{"getcmdtype", 0, 0, f_getcmdtype},
{"getcmdwintype", 0, 0, f_getcmdwintype},
{"getcurpos", 0, 0, f_getcurpos},
{"getcwd", 0, 0, f_getcwd},
{"getfontname", 0, 1, f_getfontname},
{"getfperm", 1, 1, f_getfperm},
{"getfsize", 1, 1, f_getfsize},
{"getftime", 1, 1, f_getftime},
{"getftype", 1, 1, f_getftype},
{"getline", 1, 2, f_getline},
{"getloclist", 1, 1, f_getqflist},
{"getmatches", 0, 0, f_getmatches},
{"getpid", 0, 0, f_getpid},
{"getpos", 1, 1, f_getpos},
{"getqflist", 0, 0, f_getqflist},
{"getreg", 0, 3, f_getreg},
{"getregtype", 0, 1, f_getregtype},
{"gettabvar", 2, 3, f_gettabvar},
{"gettabwinvar", 3, 4, f_gettabwinvar},
{"getwinposx", 0, 0, f_getwinposx},
{"getwinposy", 0, 0, f_getwinposy},
{"getwinvar", 2, 3, f_getwinvar},
{"glob", 1, 3, f_glob},
{"glob2regpat", 1, 1, f_glob2regpat},
{"globpath", 2, 4, f_globpath},
{"has", 1, 1, f_has},
{"has_key", 2, 2, f_has_key},
{"haslocaldir", 0, 0, f_haslocaldir},
{"hasmapto", 1, 3, f_hasmapto},
{"highlightID", 1, 1, f_hlID}, /* obsolete */
{"highlight_exists",1, 1, f_hlexists}, /* obsolete */
{"histadd", 2, 2, f_histadd},
{"histdel", 1, 2, f_histdel},
{"histget", 1, 2, f_histget},
{"histnr", 1, 1, f_histnr},
{"hlID", 1, 1, f_hlID},
{"hlexists", 1, 1, f_hlexists},
{"hostname", 0, 0, f_hostname},
{"iconv", 3, 3, f_iconv},
{"indent", 1, 1, f_indent},
{"index", 2, 4, f_index},
{"input", 1, 3, f_input},
{"inputdialog", 1, 3, f_inputdialog},
{"inputlist", 1, 1, f_inputlist},
{"inputrestore", 0, 0, f_inputrestore},
{"inputsave", 0, 0, f_inputsave},
{"inputsecret", 1, 2, f_inputsecret},
{"insert", 2, 3, f_insert},
{"invert", 1, 1, f_invert},
{"isdirectory", 1, 1, f_isdirectory},
{"islocked", 1, 1, f_islocked},
{"items", 1, 1, f_items},
{"jobclose", 1, 2, f_jobclose},
{"jobresize", 3, 3, f_jobresize},
{"jobsend", 2, 2, f_jobsend},
{"jobstart", 1, 2, f_jobstart},
{"jobstop", 1, 1, f_jobstop},
{"jobwait", 1, 2, f_jobwait},
{"join", 1, 2, f_join},
{"keys", 1, 1, f_keys},
{"last_buffer_nr", 0, 0, f_last_buffer_nr}, /* obsolete */
{"len", 1, 1, f_len},
{"libcall", 3, 3, f_libcall},
{"libcallnr", 3, 3, f_libcallnr},
{"line", 1, 1, f_line},
{"line2byte", 1, 1, f_line2byte},
{"lispindent", 1, 1, f_lispindent},
{"localtime", 0, 0, f_localtime},
{"log", 1, 1, f_log},
{"log10", 1, 1, f_log10},
{"map", 2, 2, f_map},
{"maparg", 1, 4, f_maparg},
{"mapcheck", 1, 3, f_mapcheck},
{"match", 2, 4, f_match},
{"matchadd", 2, 4, f_matchadd},
{"matchaddpos", 2, 4, f_matchaddpos},
{"matcharg", 1, 1, f_matcharg},
{"matchdelete", 1, 1, f_matchdelete},
{"matchend", 2, 4, f_matchend},
{"matchlist", 2, 4, f_matchlist},
{"matchstr", 2, 4, f_matchstr},
{"max", 1, 1, f_max},
{"min", 1, 1, f_min},
{"mkdir", 1, 3, f_mkdir},
{"mode", 0, 1, f_mode},
{"msgpackdump", 1, 1, f_msgpackdump},
{"msgpackparse", 1, 1, f_msgpackparse},
{"nextnonblank", 1, 1, f_nextnonblank},
{"nr2char", 1, 2, f_nr2char},
{"or", 2, 2, f_or},
{"pathshorten", 1, 1, f_pathshorten},
{"pow", 2, 2, f_pow},
{"prevnonblank", 1, 1, f_prevnonblank},
{"printf", 2, 19, f_printf},
{"pumvisible", 0, 0, f_pumvisible},
{"py3eval", 1, 1, f_py3eval},
{"pyeval", 1, 1, f_pyeval},
{"range", 1, 3, f_range},
{"readfile", 1, 3, f_readfile},
{"reltime", 0, 2, f_reltime},
{"reltimestr", 1, 1, f_reltimestr},
{"remove", 2, 3, f_remove},
{"rename", 2, 2, f_rename},
{"repeat", 2, 2, f_repeat},
{"resolve", 1, 1, f_resolve},
{"reverse", 1, 1, f_reverse},
{"round", 1, 1, f_round},
{"rpcnotify", 2, 64, f_rpcnotify},
{"rpcrequest", 2, 64, f_rpcrequest},
{"rpcstart", 1, 2, f_rpcstart},
{"rpcstop", 1, 1, f_rpcstop},
{"screenattr", 2, 2, f_screenattr},
{"screenchar", 2, 2, f_screenchar},
{"screencol", 0, 0, f_screencol},
{"screenrow", 0, 0, f_screenrow},
{"search", 1, 4, f_search},
{"searchdecl", 1, 3, f_searchdecl},
{"searchpair", 3, 7, f_searchpair},
{"searchpairpos", 3, 7, f_searchpairpos},
{"searchpos", 1, 4, f_searchpos},
{"serverlist", 0, 0, f_serverlist},
{"serverstart", 0, 1, f_serverstart},
{"serverstop", 1, 1, f_serverstop},
{"setbufvar", 3, 3, f_setbufvar},
{"setcharsearch", 1, 1, f_setcharsearch},
{"setcmdpos", 1, 1, f_setcmdpos},
{"setline", 2, 2, f_setline},
{"setloclist", 2, 3, f_setloclist},
{"setmatches", 1, 1, f_setmatches},
{"setpos", 2, 2, f_setpos},
{"setqflist", 1, 2, f_setqflist},
{"setreg", 2, 3, f_setreg},
{"settabvar", 3, 3, f_settabvar},
{"settabwinvar", 4, 4, f_settabwinvar},
{"setwinvar", 3, 3, f_setwinvar},
{"sha256", 1, 1, f_sha256},
{"shellescape", 1, 2, f_shellescape},
{"shiftwidth", 0, 0, f_shiftwidth},
{"simplify", 1, 1, f_simplify},
{"sin", 1, 1, f_sin},
{"sinh", 1, 1, f_sinh},
{"sort", 1, 3, f_sort},
{"soundfold", 1, 1, f_soundfold},
{"spellbadword", 0, 1, f_spellbadword},
{"spellsuggest", 1, 3, f_spellsuggest},
{"split", 1, 3, f_split},
{"sqrt", 1, 1, f_sqrt},
{"str2float", 1, 1, f_str2float},
{"str2nr", 1, 2, f_str2nr},
{"strchars", 1, 1, f_strchars},
{"strdisplaywidth", 1, 2, f_strdisplaywidth},
{"strftime", 1, 2, f_strftime},
{"stridx", 2, 3, f_stridx},
{"string", 1, 1, f_string},
{"strlen", 1, 1, f_strlen},
{"strpart", 2, 3, f_strpart},
{"strridx", 2, 3, f_strridx},
{"strtrans", 1, 1, f_strtrans},
{"strwidth", 1, 1, f_strwidth},
{"submatch", 1, 2, f_submatch},
{"substitute", 4, 4, f_substitute},
{"synID", 3, 3, f_synID},
{"synIDattr", 2, 3, f_synIDattr},
{"synIDtrans", 1, 1, f_synIDtrans},
{"synconcealed", 2, 2, f_synconcealed},
{"synstack", 2, 2, f_synstack},
{"system", 1, 2, f_system},
{"systemlist", 1, 3, f_systemlist},
{"tabpagebuflist", 0, 1, f_tabpagebuflist},
{"tabpagenr", 0, 1, f_tabpagenr},
{"tabpagewinnr", 1, 2, f_tabpagewinnr},
{"tagfiles", 0, 0, f_tagfiles},
{"taglist", 1, 1, f_taglist},
{"tan", 1, 1, f_tan},
{"tanh", 1, 1, f_tanh},
{"tempname", 0, 0, f_tempname},
{"termopen", 1, 2, f_termopen},
{"test", 1, 1, f_test},
{"tolower", 1, 1, f_tolower},
{"toupper", 1, 1, f_toupper},
{"tr", 3, 3, f_tr},
{"trunc", 1, 1, f_trunc},
{"type", 1, 1, f_type},
{"undofile", 1, 1, f_undofile},
{"undotree", 0, 0, f_undotree},
{"uniq", 1, 3, f_uniq},
{"values", 1, 1, f_values},
{"virtcol", 1, 1, f_virtcol},
{"visualmode", 0, 1, f_visualmode},
{"wildmenumode", 0, 0, f_wildmenumode},
{"winbufnr", 1, 1, f_winbufnr},
{"wincol", 0, 0, f_wincol},
{"winheight", 1, 1, f_winheight},
{"winline", 0, 0, f_winline},
{"winnr", 0, 1, f_winnr},
{"winrestcmd", 0, 0, f_winrestcmd},
{"winrestview", 1, 1, f_winrestview},
{"winsaveview", 0, 0, f_winsaveview},
{"winwidth", 1, 1, f_winwidth},
{"writefile", 2, 3, f_writefile},
{"xor", 2, 2, f_xor},
{ "abs", 1, 1, f_abs },
{ "acos", 1, 1, f_acos }, // WJMc
{ "add", 2, 2, f_add },
{ "and", 2, 2, f_and },
{ "append", 2, 2, f_append },
{ "argc", 0, 0, f_argc },
{ "argidx", 0, 0, f_argidx },
{ "arglistid", 0, 2, f_arglistid },
{ "argv", 0, 1, f_argv },
{ "asin", 1, 1, f_asin }, // WJMc
{ "assert_equal", 2, 3, f_assert_equal },
{ "assert_false", 1, 2, f_assert_false },
{ "assert_true", 1, 2, f_assert_true },
{ "atan", 1, 1, f_atan },
{ "atan2", 2, 2, f_atan2 },
{ "browse", 4, 4, f_browse },
{ "browsedir", 2, 2, f_browsedir },
{ "bufexists", 1, 1, f_bufexists },
{ "buffer_exists", 1, 1, f_bufexists }, // obsolete
{ "buffer_name", 1, 1, f_bufname }, // obsolete
{ "buffer_number", 1, 1, f_bufnr }, // obsolete
{ "buflisted", 1, 1, f_buflisted },
{ "bufloaded", 1, 1, f_bufloaded },
{ "bufname", 1, 1, f_bufname },
{ "bufnr", 1, 2, f_bufnr },
{ "bufwinnr", 1, 1, f_bufwinnr },
{ "byte2line", 1, 1, f_byte2line },
{ "byteidx", 2, 2, f_byteidx },
{ "byteidxcomp", 2, 2, f_byteidxcomp },
{ "call", 2, 3, f_call },
{ "ceil", 1, 1, f_ceil },
{ "changenr", 0, 0, f_changenr },
{ "char2nr", 1, 2, f_char2nr },
{ "cindent", 1, 1, f_cindent },
{ "clearmatches", 0, 0, f_clearmatches },
{ "col", 1, 1, f_col },
{ "complete", 2, 2, f_complete },
{ "complete_add", 1, 1, f_complete_add },
{ "complete_check", 0, 0, f_complete_check },
{ "confirm", 1, 4, f_confirm },
{ "copy", 1, 1, f_copy },
{ "cos", 1, 1, f_cos },
{ "cosh", 1, 1, f_cosh },
{ "count", 2, 4, f_count },
{ "cscope_connection", 0, 3, f_cscope_connection },
{ "cursor", 1, 3, f_cursor },
{ "deepcopy", 1, 2, f_deepcopy },
{ "delete", 1, 1, f_delete },
{ "dictwatcheradd", 3, 3, f_dictwatcheradd },
{ "dictwatcherdel", 3, 3, f_dictwatcherdel },
{ "did_filetype", 0, 0, f_did_filetype },
{ "diff_filler", 1, 1, f_diff_filler },
{ "diff_hlID", 2, 2, f_diff_hlID },
{ "empty", 1, 1, f_empty },
{ "escape", 2, 2, f_escape },
{ "eval", 1, 1, f_eval },
{ "eventhandler", 0, 0, f_eventhandler },
{ "executable", 1, 1, f_executable },
{ "exepath", 1, 1, f_exepath },
{ "exists", 1, 1, f_exists },
{ "exp", 1, 1, f_exp },
{ "expand", 1, 3, f_expand },
{ "extend", 2, 3, f_extend },
{ "feedkeys", 1, 2, f_feedkeys },
{ "file_readable", 1, 1, f_filereadable }, // obsolete
{ "filereadable", 1, 1, f_filereadable },
{ "filewritable", 1, 1, f_filewritable },
{ "filter", 2, 2, f_filter },
{ "finddir", 1, 3, f_finddir },
{ "findfile", 1, 3, f_findfile },
{ "float2nr", 1, 1, f_float2nr },
{ "floor", 1, 1, f_floor },
{ "fmod", 2, 2, f_fmod },
{ "fnameescape", 1, 1, f_fnameescape },
{ "fnamemodify", 2, 2, f_fnamemodify },
{ "foldclosed", 1, 1, f_foldclosed },
{ "foldclosedend", 1, 1, f_foldclosedend },
{ "foldlevel", 1, 1, f_foldlevel },
{ "foldtext", 0, 0, f_foldtext },
{ "foldtextresult", 1, 1, f_foldtextresult },
{ "foreground", 0, 0, f_foreground },
{ "function", 1, 1, f_function },
{ "garbagecollect", 0, 1, f_garbagecollect },
{ "get", 2, 3, f_get },
{ "getbufline", 2, 3, f_getbufline },
{ "getbufvar", 2, 3, f_getbufvar },
{ "getchar", 0, 1, f_getchar },
{ "getcharmod", 0, 0, f_getcharmod },
{ "getcharsearch", 0, 0, f_getcharsearch },
{ "getcmdline", 0, 0, f_getcmdline },
{ "getcmdpos", 0, 0, f_getcmdpos },
{ "getcmdtype", 0, 0, f_getcmdtype },
{ "getcmdwintype", 0, 0, f_getcmdwintype },
{ "getcurpos", 0, 0, f_getcurpos },
{ "getcwd", 0, 0, f_getcwd },
{ "getfontname", 0, 1, f_getfontname },
{ "getfperm", 1, 1, f_getfperm },
{ "getfsize", 1, 1, f_getfsize },
{ "getftime", 1, 1, f_getftime },
{ "getftype", 1, 1, f_getftype },
{ "getline", 1, 2, f_getline },
{ "getloclist", 1, 1, f_getqflist },
{ "getmatches", 0, 0, f_getmatches },
{ "getpid", 0, 0, f_getpid },
{ "getpos", 1, 1, f_getpos },
{ "getqflist", 0, 0, f_getqflist },
{ "getreg", 0, 3, f_getreg },
{ "getregtype", 0, 1, f_getregtype },
{ "gettabvar", 2, 3, f_gettabvar },
{ "gettabwinvar", 3, 4, f_gettabwinvar },
{ "getwinposx", 0, 0, f_getwinposx },
{ "getwinposy", 0, 0, f_getwinposy },
{ "getwinvar", 2, 3, f_getwinvar },
{ "glob", 1, 3, f_glob },
{ "glob2regpat", 1, 1, f_glob2regpat },
{ "globpath", 2, 4, f_globpath },
{ "has", 1, 1, f_has },
{ "has_key", 2, 2, f_has_key },
{ "haslocaldir", 0, 0, f_haslocaldir },
{ "hasmapto", 1, 3, f_hasmapto },
{ "highlightID", 1, 1, f_hlID }, // obsolete
{ "highlight_exists", 1, 1, f_hlexists }, // obsolete
{ "histadd", 2, 2, f_histadd },
{ "histdel", 1, 2, f_histdel },
{ "histget", 1, 2, f_histget },
{ "histnr", 1, 1, f_histnr },
{ "hlID", 1, 1, f_hlID },
{ "hlexists", 1, 1, f_hlexists },
{ "hostname", 0, 0, f_hostname },
{ "iconv", 3, 3, f_iconv },
{ "indent", 1, 1, f_indent },
{ "index", 2, 4, f_index },
{ "input", 1, 3, f_input },
{ "inputdialog", 1, 3, f_inputdialog },
{ "inputlist", 1, 1, f_inputlist },
{ "inputrestore", 0, 0, f_inputrestore },
{ "inputsave", 0, 0, f_inputsave },
{ "inputsecret", 1, 2, f_inputsecret },
{ "insert", 2, 3, f_insert },
{ "invert", 1, 1, f_invert },
{ "isdirectory", 1, 1, f_isdirectory },
{ "islocked", 1, 1, f_islocked },
{ "items", 1, 1, f_items },
{ "jobclose", 1, 2, f_jobclose },
{ "jobresize", 3, 3, f_jobresize },
{ "jobsend", 2, 2, f_jobsend },
{ "jobstart", 1, 2, f_jobstart },
{ "jobstop", 1, 1, f_jobstop },
{ "jobwait", 1, 2, f_jobwait },
{ "join", 1, 2, f_join },
{ "keys", 1, 1, f_keys },
{ "last_buffer_nr", 0, 0, f_last_buffer_nr }, // obsolete
{ "len", 1, 1, f_len },
{ "libcall", 3, 3, f_libcall },
{ "libcallnr", 3, 3, f_libcallnr },
{ "line", 1, 1, f_line },
{ "line2byte", 1, 1, f_line2byte },
{ "lispindent", 1, 1, f_lispindent },
{ "localtime", 0, 0, f_localtime },
{ "log", 1, 1, f_log },
{ "log10", 1, 1, f_log10 },
{ "map", 2, 2, f_map },
{ "maparg", 1, 4, f_maparg },
{ "mapcheck", 1, 3, f_mapcheck },
{ "match", 2, 4, f_match },
{ "matchadd", 2, 4, f_matchadd },
{ "matchaddpos", 2, 4, f_matchaddpos },
{ "matcharg", 1, 1, f_matcharg },
{ "matchdelete", 1, 1, f_matchdelete },
{ "matchend", 2, 4, f_matchend },
{ "matchlist", 2, 4, f_matchlist },
{ "matchstr", 2, 4, f_matchstr },
{ "max", 1, 1, f_max },
{ "min", 1, 1, f_min },
{ "mkdir", 1, 3, f_mkdir },
{ "mode", 0, 1, f_mode },
{ "msgpackdump", 1, 1, f_msgpackdump },
{ "msgpackparse", 1, 1, f_msgpackparse },
{ "nextnonblank", 1, 1, f_nextnonblank },
{ "nr2char", 1, 2, f_nr2char },
{ "or", 2, 2, f_or },
{ "pathshorten", 1, 1, f_pathshorten },
{ "pow", 2, 2, f_pow },
{ "prevnonblank", 1, 1, f_prevnonblank },
{ "printf", 2, 19, f_printf },
{ "pumvisible", 0, 0, f_pumvisible },
{ "py3eval", 1, 1, f_py3eval },
{ "pyeval", 1, 1, f_pyeval },
{ "range", 1, 3, f_range },
{ "readfile", 1, 3, f_readfile },
{ "reltime", 0, 2, f_reltime },
{ "reltimestr", 1, 1, f_reltimestr },
{ "remove", 2, 3, f_remove },
{ "rename", 2, 2, f_rename },
{ "repeat", 2, 2, f_repeat },
{ "resolve", 1, 1, f_resolve },
{ "reverse", 1, 1, f_reverse },
{ "round", 1, 1, f_round },
{ "rpcnotify", 2, 64, f_rpcnotify },
{ "rpcrequest", 2, 64, f_rpcrequest },
{ "rpcstart", 1, 2, f_rpcstart },
{ "rpcstop", 1, 1, f_rpcstop },
{ "screenattr", 2, 2, f_screenattr },
{ "screenchar", 2, 2, f_screenchar },
{ "screencol", 0, 0, f_screencol },
{ "screenrow", 0, 0, f_screenrow },
{ "search", 1, 4, f_search },
{ "searchdecl", 1, 3, f_searchdecl },
{ "searchpair", 3, 7, f_searchpair },
{ "searchpairpos", 3, 7, f_searchpairpos },
{ "searchpos", 1, 4, f_searchpos },
{ "serverlist", 0, 0, f_serverlist },
{ "serverstart", 0, 1, f_serverstart },
{ "serverstop", 1, 1, f_serverstop },
{ "setbufvar", 3, 3, f_setbufvar },
{ "setcharsearch", 1, 1, f_setcharsearch },
{ "setcmdpos", 1, 1, f_setcmdpos },
{ "setline", 2, 2, f_setline },
{ "setloclist", 2, 3, f_setloclist },
{ "setmatches", 1, 1, f_setmatches },
{ "setpos", 2, 2, f_setpos },
{ "setqflist", 1, 2, f_setqflist },
{ "setreg", 2, 3, f_setreg },
{ "settabvar", 3, 3, f_settabvar },
{ "settabwinvar", 4, 4, f_settabwinvar },
{ "setwinvar", 3, 3, f_setwinvar },
{ "sha256", 1, 1, f_sha256 },
{ "shellescape", 1, 2, f_shellescape },
{ "shiftwidth", 0, 0, f_shiftwidth },
{ "simplify", 1, 1, f_simplify },
{ "sin", 1, 1, f_sin },
{ "sinh", 1, 1, f_sinh },
{ "sort", 1, 3, f_sort },
{ "soundfold", 1, 1, f_soundfold },
{ "spellbadword", 0, 1, f_spellbadword },
{ "spellsuggest", 1, 3, f_spellsuggest },
{ "split", 1, 3, f_split },
{ "sqrt", 1, 1, f_sqrt },
{ "str2float", 1, 1, f_str2float },
{ "str2nr", 1, 2, f_str2nr },
{ "strchars", 1, 1, f_strchars },
{ "strdisplaywidth", 1, 2, f_strdisplaywidth },
{ "strftime", 1, 2, f_strftime },
{ "stridx", 2, 3, f_stridx },
{ "string", 1, 1, f_string },
{ "strlen", 1, 1, f_strlen },
{ "strpart", 2, 3, f_strpart },
{ "strridx", 2, 3, f_strridx },
{ "strtrans", 1, 1, f_strtrans },
{ "strwidth", 1, 1, f_strwidth },
{ "submatch", 1, 2, f_submatch },
{ "substitute", 4, 4, f_substitute },
{ "synID", 3, 3, f_synID },
{ "synIDattr", 2, 3, f_synIDattr },
{ "synIDtrans", 1, 1, f_synIDtrans },
{ "synconcealed", 2, 2, f_synconcealed },
{ "synstack", 2, 2, f_synstack },
{ "system", 1, 2, f_system },
{ "systemlist", 1, 3, f_systemlist },
{ "tabpagebuflist", 0, 1, f_tabpagebuflist },
{ "tabpagenr", 0, 1, f_tabpagenr },
{ "tabpagewinnr", 1, 2, f_tabpagewinnr },
{ "tagfiles", 0, 0, f_tagfiles },
{ "taglist", 1, 1, f_taglist },
{ "tan", 1, 1, f_tan },
{ "tanh", 1, 1, f_tanh },
{ "tempname", 0, 0, f_tempname },
{ "termopen", 1, 2, f_termopen },
{ "test", 1, 1, f_test },
{ "tolower", 1, 1, f_tolower },
{ "toupper", 1, 1, f_toupper },
{ "tr", 3, 3, f_tr },
{ "trunc", 1, 1, f_trunc },
{ "type", 1, 1, f_type },
{ "undofile", 1, 1, f_undofile },
{ "undotree", 0, 0, f_undotree },
{ "uniq", 1, 3, f_uniq },
{ "values", 1, 1, f_values },
{ "virtcol", 1, 1, f_virtcol },
{ "visualmode", 0, 1, f_visualmode },
{ "wildmenumode", 0, 0, f_wildmenumode },
{ "winbufnr", 1, 1, f_winbufnr },
{ "wincol", 0, 0, f_wincol },
{ "winheight", 1, 1, f_winheight },
{ "winline", 0, 0, f_winline },
{ "winnr", 0, 1, f_winnr },
{ "winrestcmd", 0, 0, f_winrestcmd },
{ "winrestview", 1, 1, f_winrestview },
{ "winsaveview", 0, 0, f_winsaveview },
{ "winwidth", 1, 1, f_winwidth },
{ "writefile", 2, 3, f_writefile },
{ "xor", 2, 2, f_xor },
};