| /vim-8.2.3635/src/testdir/ |
| H A D | test_const.vim | 10 const F = funcref('s:noop') 42 call assert_fails('let F = funcref("s:noop")', 'E741:') 77 const l:F = funcref('s:noop') 94 call assert_fails('let l:F = funcref("s:noop")', 'E741:') 145 let F = funcref('s:noop') 159 call assert_fails('const F = funcref("s:noop")', 'E995:') 174 const F2 = funcref('s:noop') 188 call assert_fails('const F2 = funcref("s:noop")', 'E995:')
|
| H A D | test_lua.vim | 674 lua i1 = vim.funcref"I" 677 lua msg = vim.funcref"tr"(msg, "|", " ") 678 call assert_equal("funcref test OK", luaeval('msg')) 681 call assert_fails('lua f1 = vim.funcref("")', 683 call assert_fails('lua f1 = vim.funcref("10")', 686 call assert_fails('lua f1 = vim.funcref(fname)', 688 call assert_fails('lua vim.funcref("abc")()', 691 " dict funcref 723 call assert_equal('funcref', luaeval('vim.type(vim.funcref("Test_type"))')) 761 vim.funcref('Vim_func_call_lua_callback')( [all …]
|
| H A D | test_expr.vim | 461 " funcref 497 let OneByRef = funcref('One') 503 let OneByRef = 'One'->funcref() 505 call assert_fails('echo funcref("{")', 'E475:') 506 let OneByRef = funcref("One", repeat(["foo"], 20)) 507 call assert_fails('let OneByRef = funcref("One", repeat(["foo"], 21))', 'E118:') 509 call assert_fails('echo test_null_function()->funcref()', 'E475: Invalid argument: NULL')
|
| H A D | test_filter_map.vim | 32 " list with funcref 66 " dict with funcref
|
| H A D | test_partial.vim | 110 fun InnerCall(funcref) argument 111 return a:funcref
|
| H A D | shared.vim | 125 " stringified expression to evaluate, or a funcref without arguments.
|
| H A D | test_vimscript.vim | 6445 " Test 87 using (expr) ? funcref : funcref {{{1 6447 " Vim needs to correctly parse the funcref and even when it does 6448 " not execute the funcref, it needs to consume the trailing () 7200 call assert_equal(0, test_refcount(funcref('Func'))) 7204 call assert_equal(0, test_refcount(funcref('Func'))) 7205 call assert_equal(0, test_refcount(funcref('Func', [1]))) 7212 let X = funcref('Func') 7215 let X = funcref('Func', [1]) 7417 " function name starting with/without "g:", buffer-local funcref.
|
| H A D | test_vim9_disassemble.vim | 1050 var Party2: func = funcref("UserFunc") 1063 'var Party2: func = funcref("UserFunc")\_s*' .. 1065 '\d BCALL funcref(argc 1)\_s*' ..
|
| H A D | test_syntax.vim | 830 " Skip argument using funcref.
|
| H A D | test_functions.vim | 2445 " funcref() 2446 call assert_equal([0, 1], funcref('TwoArgs', range(2))())
|
| H A D | test_normal.vim | 423 " use a funcref for 'opfunc' 428 set opfunc=funcref('Test_opfunc2',\ [4,\ 3])
|
| H A D | test_vim9_assign.vim | 102 var Party2: func = funcref('g:Test_syntax')
|
| H A D | test_vim9_expr.vim | 3211 # funcref call, using list index
|
| /vim-8.2.3635/runtime/doc/ |
| H A D | if_lua.txt | 14 6. Funcref userdata |lua-funcref| 150 vim.funcref({name}) Returns a Funcref to function {name} (see 171 "dict", "funcref", "buffer", or "window" if 172 {arg} is a list, dictionary, funcref, buffer, 368 6. Funcref userdata *lua-funcref* 370 Funcref userdata represent funcref variables in Vim. Funcrefs that were 373 below.) A funcref "f" has the following properties: 386 :lua i1 = vim.funcref('I') 394 :lua d = vim.eval('mydict'); d.len = vim.funcref('Mylen') 506 list, dict, blob, and funcref userdata are converted to their Vim respective
|
| H A D | if_mzsch.txt | 14 6. Using Function references |mzscheme-funcref| 175 |mzscheme-funcref|) 258 6. Using Function references *mzscheme-funcref*
|
| H A D | vim9.txt | 251 script "s:funcref" could be used, because it could not be referred to with 252 "funcref". In Vim9 script it can, therefore "s:Funcref" must be used to avoid
|
| H A D | eval.txt | 183 A Funcref variable is obtained with the |function()| function, the |funcref()| 218 function() or funcref(). When calling the function the Dictionary and/or 2652 funcref({name} [, {arglist}] [, {dict}]) 2659 get({func}, {what}) any get property of funcref/partial {func} 5180 *funcref()* 5181 funcref({name} [, {arglist}] [, {dict}]) 5191 GetFuncname()->funcref([arg]) 5206 also when it was redefined later. Use |funcref()| to keep the 9647 {skip} can be a string, a lambda, a funcref or a partial. 10130 a function or a funcref or a lambda. Refer to [all …]
|
| H A D | tags | 6742 funcref() eval.txt /*funcref()* 7808 lua-funcref if_lua.txt /*lua-funcref* 8007 mzscheme-funcref if_mzsch.txt /*mzscheme-funcref*
|
| /vim-8.2.3635/src/ |
| H A D | vim9.h | 439 funcref_T funcref; member
|
| H A D | vim9execute.c | 3172 + iptr->isn_arg.funcref.fr_func; in exec_instructions() 5456 funcref_T *funcref = &iptr->isn_arg.funcref; in list_instructions() local 5458 + funcref->fr_func; in list_instructions()
|
| H A D | if_lua.c | 1321 luaV_type_tostring(funcref, LUAVIM_FUNCREF) in luaV_type_tostring() argument
|
| H A D | vim9compile.c | 1678 isn->isn_arg.funcref.fr_func = ufunc->uf_dfunc_idx; in generate_FUNCREF() 10444 + isn->isn_arg.funcref.fr_func; in delete_instr()
|
| /vim-8.2.3635/src/po/ |
| H A D | da.po | 546 msgstr "E695: Kan ikke indeksere en funcref" 578 msgstr "E703: Bruger en funcref som et nummer" 593 msgstr "E891: Bruger en funcref som et fyldende kommatal" 614 msgstr "E729: bruger funcref som en streng" 678 msgstr "E694: Ugyldig handling for funcref'er"
|
| /vim-8.2.3635/runtime/autoload/ |
| H A D | netrw.vim | 5338 " call Decho("g:Netrw_corehandler is a funcref",'~'.expand("<slnum>")) 11537 …trw#ErrorMsg(s:WARNING,"ignoring usermap <".string(umap[0])."> -- not a [string,funcref] entry",99) 12688 " * calls a user-supplied funcref(islocal,curdir) 12701 " if result from user's funcref is a string... 12702 " call Decho("result string from user funcref<".result.">",'~'.expand("<slnum>")) 12712 " if result from user's funcref is a List... 12713 " call Decho("result List from user funcref<".string(result).">",'~'.expand("<slnum>"))
|
| /vim-8.2.3635/runtime/syntax/ |
| H A D | vim.vim | 86 …iff_filler echoraw executable expand filewritable float2nr foldclosedend funcref getbufvar getchar…
|