mirror of
https://github.com/iggredible/Learn-Vim
synced 2024-11-27 04:50:18 +00:00
Add help references to call cmd and call function
This commit is contained in:
parent
73efe0b005
commit
7ad8ed77b5
1 changed files with 3 additions and 1 deletions
|
@ -187,7 +187,9 @@ echo call("Tasty", ["gravy"])
|
||||||
" returns "Tasty gravy"
|
" returns "Tasty gravy"
|
||||||
```
|
```
|
||||||
|
|
||||||
To clear any confusion, you have just used two different `call` commands: the `:call` command-line command and the `call()` function. The `call()` function accepts as its first argument the function name (string) and its second argument the formal parameters (list).
|
To clear any confusion, you have just used two different `call` commands: the `:call` command-line command and the `call()` function. The `call()` function accepts as its first argument the function name (string) and its second argument the formal parameters (list).
|
||||||
|
|
||||||
|
To learn more about `:call` and `call()`, check out `:h call()` and `:h :call`.
|
||||||
|
|
||||||
## Default Argument
|
## Default Argument
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue