Call the correct function
author |
Eduardo Lopez Biagi <eduardo.biagi@gmail.com> |
date |
Sat, 21 Jul 2012 18:12:02 -0500 |
parents |
883206297dc1
|
children |
8985aa307b9a
|
branches/tags |
(none) |
files |
chapters/24.markdown |
Changes
--- a/chapters/24.markdown Tue Jul 17 23:41:53 2012 -0500
+++ b/chapters/24.markdown Sat Jul 21 18:12:02 2012 -0500
@@ -81,7 +81,7 @@
: echo a:000
:endfunction
- :call Varg("a", "b", "c")
+ :call Varg2("a", "b", "c")
We can see that Vim puts "a" into the named argument `a:foo`, and the rest are
put into the list of varargs.