فهرست منبع

Set the default completion type of proxy command to "file"

Though we do not know the completion type of a command until the command
is loaded, setting it to file seems like the best thing we can do.
Junegunn Choi 10 سال پیش
والد
کامیت
46ddb4af2d
1فایلهای تغییر یافته به همراه1 افزوده شده و 1 حذف شده
  1. 1 1
      plug.vim

+ 1 - 1
plug.vim

@@ -251,7 +251,7 @@ function! plug#end()
 
   for [cmd, names] in items(lod.cmd)
     execute printf(
-    \ 'command! -nargs=* -range -bang %s call s:lod_cmd(%s, "<bang>", <line1>, <line2>, <q-args>, %s)',
+    \ 'command! -nargs=* -range -bang -complete=file %s call s:lod_cmd(%s, "<bang>", <line1>, <line2>, <q-args>, %s)',
     \ cmd, string(cmd), string(names))
   endfor