Mercurial > vim
comparison src/evalfunc.c @ 17914:af3d441845cd v8.1.1953
patch 8.1.1953: more functions can be used as a method
Commit: https://github.com/vim/vim/commit/f9f24ce7a0e5988fedf2e2ff751818f9b07510a6
Author: Bram Moolenaar <Bram@vim.org>
Date: Sat Aug 31 21:17:39 2019 +0200
patch 8.1.1953: 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.
author | Bram Moolenaar <Bram@vim.org> |
---|---|
date | Sat, 31 Aug 2019 21:30:04 +0200 |
parents | 9fac6d0de69a |
children | 2e53305f2239 |
comparison
equal
deleted
inserted
replaced
17913:be8ab5bb74ce | 17914:af3d441845cd |
---|---|
593 {"glob", 1, 4, FEARG_1, f_glob}, | 593 {"glob", 1, 4, FEARG_1, f_glob}, |
594 {"glob2regpat", 1, 1, FEARG_1, f_glob2regpat}, | 594 {"glob2regpat", 1, 1, FEARG_1, f_glob2regpat}, |
595 {"globpath", 2, 5, FEARG_2, f_globpath}, | 595 {"globpath", 2, 5, FEARG_2, f_globpath}, |
596 {"has", 1, 1, 0, f_has}, | 596 {"has", 1, 1, 0, f_has}, |
597 {"has_key", 2, 2, FEARG_1, f_has_key}, | 597 {"has_key", 2, 2, FEARG_1, f_has_key}, |
598 {"haslocaldir", 0, 2, 0, f_haslocaldir}, | 598 {"haslocaldir", 0, 2, FEARG_1, f_haslocaldir}, |
599 {"hasmapto", 1, 3, 0, f_hasmapto}, | 599 {"hasmapto", 1, 3, FEARG_1, f_hasmapto}, |
600 {"highlightID", 1, 1, 0, f_hlID}, // obsolete | 600 {"highlightID", 1, 1, FEARG_1, f_hlID}, // obsolete |
601 {"highlight_exists",1, 1, 0, f_hlexists}, // obsolete | 601 {"highlight_exists",1, 1, FEARG_1, f_hlexists}, // obsolete |
602 {"histadd", 2, 2, 0, f_histadd}, | 602 {"histadd", 2, 2, FEARG_2, f_histadd}, |
603 {"histdel", 1, 2, 0, f_histdel}, | 603 {"histdel", 1, 2, FEARG_1, f_histdel}, |
604 {"histget", 1, 2, 0, f_histget}, | 604 {"histget", 1, 2, FEARG_1, f_histget}, |
605 {"histnr", 1, 1, 0, f_histnr}, | 605 {"histnr", 1, 1, FEARG_1, f_histnr}, |
606 {"hlID", 1, 1, 0, f_hlID}, | 606 {"hlID", 1, 1, FEARG_1, f_hlID}, |
607 {"hlexists", 1, 1, 0, f_hlexists}, | 607 {"hlexists", 1, 1, FEARG_1, f_hlexists}, |
608 {"hostname", 0, 0, 0, f_hostname}, | 608 {"hostname", 0, 0, 0, f_hostname}, |
609 {"iconv", 3, 3, 0, f_iconv}, | 609 {"iconv", 3, 3, FEARG_1, f_iconv}, |
610 {"indent", 1, 1, 0, f_indent}, | 610 {"indent", 1, 1, FEARG_1, f_indent}, |
611 {"index", 2, 4, FEARG_1, f_index}, | 611 {"index", 2, 4, FEARG_1, f_index}, |
612 {"input", 1, 3, 0, f_input}, | 612 {"input", 1, 3, FEARG_1, f_input}, |
613 {"inputdialog", 1, 3, 0, f_inputdialog}, | 613 {"inputdialog", 1, 3, FEARG_1, f_inputdialog}, |
614 {"inputlist", 1, 1, 0, f_inputlist}, | 614 {"inputlist", 1, 1, FEARG_1, f_inputlist}, |
615 {"inputrestore", 0, 0, 0, f_inputrestore}, | 615 {"inputrestore", 0, 0, 0, f_inputrestore}, |
616 {"inputsave", 0, 0, 0, f_inputsave}, | 616 {"inputsave", 0, 0, 0, f_inputsave}, |
617 {"inputsecret", 1, 2, 0, f_inputsecret}, | 617 {"inputsecret", 1, 2, FEARG_1, f_inputsecret}, |
618 {"insert", 2, 3, FEARG_1, f_insert}, | 618 {"insert", 2, 3, FEARG_1, f_insert}, |
619 {"invert", 1, 1, FEARG_1, f_invert}, | 619 {"invert", 1, 1, FEARG_1, f_invert}, |
620 {"isdirectory", 1, 1, 0, f_isdirectory}, | 620 {"isdirectory", 1, 1, FEARG_1, f_isdirectory}, |
621 #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) | 621 #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) |
622 {"isinf", 1, 1, FEARG_1, f_isinf}, | 622 {"isinf", 1, 1, FEARG_1, f_isinf}, |
623 #endif | 623 #endif |
624 {"islocked", 1, 1, 0, f_islocked}, | 624 {"islocked", 1, 1, FEARG_1, f_islocked}, |
625 #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) | 625 #if defined(FEAT_FLOAT) && defined(HAVE_MATH_H) |
626 {"isnan", 1, 1, FEARG_1, f_isnan}, | 626 {"isnan", 1, 1, FEARG_1, f_isnan}, |
627 #endif | 627 #endif |
628 {"items", 1, 1, FEARG_1, f_items}, | 628 {"items", 1, 1, FEARG_1, f_items}, |
629 #ifdef FEAT_JOB_CHANNEL | 629 #ifdef FEAT_JOB_CHANNEL |