From 1d773f3fb3e5696d03e79daff2061446bc66e8ee Mon Sep 17 00:00:00 2001 From: Enis Arik <36437947+earik87@users.noreply.github.com> Date: Sun, 18 Jul 2021 17:33:13 +0200 Subject: [PATCH] Better word to use Length --> Number of arguments. I think it is much more correct. --- ch28_vimscript_functions.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ch28_vimscript_functions.md b/ch28_vimscript_functions.md index 68ac354..7d467e0 100644 --- a/ch28_vimscript_functions.md +++ b/ch28_vimscript_functions.md @@ -232,7 +232,7 @@ echo Buffet("Noodles", "Sushi") The problem with this approach is if you now run `echo Buffet("Noodles")` (with only one variable), Vim complains that it has an undefined variable `a:2`. How can you make it flexible enough to display exactly what the user gives? -Luckily, Vim has a special variable `a:0` to display the *length* of the argument passed into `...`. +Luckily, Vim has a special variable `a:0` to display the *number* of the arguments passed into `...`. ``` function! Buffet(...)