summaryrefslogtreecommitdiffstats
path: root/runtime/syntax/testdir/input/vim_ex_call.vim
blob: ae6bdc99e831b944c8abd3f2c33ceac171ee8a34 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
" Vim :call command


" functions for which there are same-named Ex commands

call browse(save, title, initdir, default)
call call(func, arglist, dict)
call chdir(dir)
call confirm(msg, choices, default, type)
call copy(expr)
call delete(fname, flags)
call eval(string)
call execute(command)
call filter(expr1, expr2)
call function(name, arglist, dict)
call insert(object, item, idx)
call join(list, sep)
call map(expr1, expr2)
call match(expr, pat, start, count)
call mode(expr)
call sort(list, how, dict)
call split(string, pattern, keepempty)
call substitute(str, pat, sub, flags)
call swapname(buf)

call browse (save, title, initdir, default)
call call (func, arglist, dict)
call chdir (dir)
call confirm (msg, choices, default, type)
call copy (expr)
call delete (fname, flags)
call eval (string)
call execute (command)
call filter (expr1, expr2)
call function (name, arglist, dict)
call insert (object, item, idx)
call join (list, sep)
call map (expr1, expr2)
call match (expr, pat, start, count)
call mode (expr)
call sort (list, how, dict)
call split (string, pattern, keepempty)
call substitute (str, pat, sub, flags)
call swapname (buf)

call Foo()
call Foo(arg1)
call Foo(arg1, arg2)

let res = call(func, arglist, dict)
let res = call (func, arglist, dict)