fixes: #20793
Signed-off-by: Hirohito Higashi <h.east.727@gmail.com>
Signed-off-by: Christian Brabandt <cb@256bit.org>
like with |expand()|, and environment variables, anywhere in
{string}. "~user" and "~/path" are only expanded at the
start.
+ The expansion is done in two steps: the special keywords are
+ evaluated first, then "~" and environment variables are
+ expanded in the result. Thus `expand('%:~')` keeps the "~",
+ while `expandcmd('%:~')` returns the full path.
The following items are supported in the {options} Dict
argument: