I'm learning some Vimscript code from here .
And the next lines will not compile:
function! Mapped(fn ,l)
let new_list = deepcopy(a:l)
call map(new_list, string(a:fn) . '(v:val)')
return new_list
endfunction
When I'm running :source %
I'm getting the following error:
Invalid argument: Mapped(fn, l)
I cant' seem to figure out how.
fn
and the comma:function! Mapped(fn, l)
.vim_dev
.:h todo
(search for function, I even posted a patch about it, but Bram didn't want to included it, since he didn't like the style