FuncRef call

Previous Topic Next Topic
classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view

FuncRef call

Ni Va

I would like to call a func by gvim launch -c command but it fails :
Error detected while processing function awl#splitfile:
line   28:
E696: Missing comma in List: )
E116: Invalid arguments for function job_start

this is the code

        let firstPart = remove(mylist, 0, middleIndex)
        let scndPart  = mylist
        call job_start([expand('$VIMRUNTIME').'/gvim_amd64.exe', '-c', "call function('awl#writefiles', ['firstPart','destdir'])")

Thank you in advance

You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit

You received this message because you are subscribed to the Google Groups "vim_use" group.
To unsubscribe from this group and stop receiving emails from it, send an email to [hidden email].
For more options, visit