Found it:
command! -nargs=* -complete=file Loader for f in [<f-args>] | call
Test(fnamemodify(f, ":p")) | endfor

On Sun, Mar 22, 2020 at 9:41 PM Martin Alaçam <[email protected]>
wrote:

> Hello,
>
> command! -nargs=* -complete=file Loader call Test(<f-args>)
>
> How would I get the <f-args> to be full paths to the arguments (file
> names)?
> I am guessing it has to be done in the command, and not in the function
> being called (Test)?
>
> Thanks in advance,
>
> Martin
>

-- 
-- 
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 http://www.vim.org/maillist.php

--- 
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 [email protected].
To view this discussion on the web visit 
https://groups.google.com/d/msgid/vim_use/CAHvr%2BSU3mb7cCwFdjSd1QO-EiszAuwVivxVhjRoCWtz%3DAtxL6w%40mail.gmail.com.

Reply via email to