1
0
forked from aniani/vim

patch 8.1.0651: :args \"foo works like :args without argument

Problem:    :args \"foo works like :args without argument.
Solution:   Fix check for empty argument. (closes #3728)
This commit is contained in:
Bram Moolenaar
2018-12-28 19:06:47 +01:00
parent 54948183d2
commit 2ac372ccee
3 changed files with 9 additions and 1 deletions

View File

@@ -2738,7 +2738,7 @@ ex_args(exarg_T *eap)
alist_new();
}
if (!ends_excmd(*eap->arg))
if (*eap->arg != NUL)
{
/*
* ":args file ..": define new argument list, handle like ":next"