2

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 nargs=1.

Is there any way to complete arguments containing white spaces?

DaftWooly
  • 121
  • 1

0 Answers0