Add help references to call cmd and call function

This commit is contained in:
Igor Irianto 2021-02-11 10:01:02 -06:00 committed by GitHub
parent 73efe0b005
commit 7ad8ed77b5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -187,7 +187,9 @@ echo call("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