]> git.ipfire.org Git - thirdparty/vim.git/commit
runtime(openPlugin): fix E480 when opening URLs with wildcards on Windows
authorChristian Brabandt <cb@256bit.org>
Wed, 2 Apr 2025 17:32:03 +0000 (19:32 +0200)
committerChristian Brabandt <cb@256bit.org>
Wed, 2 Apr 2025 17:41:21 +0000 (19:41 +0200)
commit9301b437bca880c10921a7d0369d671a716e85f2
tree3992669ec98bb586cda208166a891a611c06b7ad
parentde8f8f732ac1bcf69899df6ffd27dca9a4e66f3c
runtime(openPlugin): fix E480 when opening URLs with wildcards on Windows

This might be a bug in Windows Vim, as when using the following command
it throws E480:
```
:com! -complete=file -nargs=1 :Echo echo <q-args>
:Echo ?
E480: No match ?
```

Work-around this by using `-nargs=*` to allow more arguments, even
though this is not completely correct.

fixes: #17029

Signed-off-by: Christian Brabandt <cb@256bit.org>
runtime/doc/eval.txt
runtime/doc/tags
runtime/plugin/openPlugin.vim