On 02/04/09 17:13, Spiros Bousbouras wrote: > > function Foo(arg1 , arg2) > echo "Hello world !" > endfunction > > When I try to source the above I get > E475: Invalid argument: Foo(arg1 , arg2) > If I change the first line to > function Foo(arg1, arg2) > it works fine. (If you can't see the difference between the two > scroll below for the answer) So I was wondering is it supposed > to work this way or is it a bug ? [...] > In the working version there is no space before the comma.
I confirm the mentioned behaviour in Vim 7.2.148. I believe that it is a bug, though I'm not sure. However IIUC it is common practice not to leave blank space before a comma. Best regards, Tony. -- "At least they're _EXPERIENCED_ incompetents" --~--~---------~--~----~------------~-------~--~----~ You received this message from the "vim_use" maillist. For more information, visit http://www.vim.org/maillist.php -~----------~----~----~----~------~----~------~--~---
