mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
@@ -13637,11 +13637,12 @@ static void f_resolve(typval_T *argvars, typval_T *rettv)
|
||||
{
|
||||
char_u *v = NULL;
|
||||
|
||||
v = mch_resolve_shortcut(p);
|
||||
if (v != NULL)
|
||||
v = os_resolve_shortcut(p);
|
||||
if (v != NULL) {
|
||||
rettv->vval.v_string = v;
|
||||
else
|
||||
} else {
|
||||
rettv->vval.v_string = vim_strsave(p);
|
||||
}
|
||||
}
|
||||
#else
|
||||
# ifdef HAVE_READLINK
|
||||
|
Reference in New Issue
Block a user