Merge pull request #94 from victorhck/master

fix capital R in ch27
pull/99/head
Igor Irianto 3 years ago committed by GitHub
commit 5ec499a159
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

@ -227,7 +227,7 @@ function! Buffet(...)
endfunction
echo Buffet("Noodles", "Sushi")
" Returns "Noodles Sushi"
" returns "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?

Loading…
Cancel
Save