mirror of
https://github.com/vim/vim.git
synced 2025-09-24 03:44:06 -04:00
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:
@@ -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"
|
||||
|
Reference in New Issue
Block a user