I'm trying to write a custom completion function for filenames and sometimes they can have whitespaces.
So far I've been using this
command! -nargs=1 -complete=customlist,MyComplete MyFunc execute MyFunc(<f-args>)
But it only completes the last word even with
Is there any way to complete arguments containing white spaces?