mirror of
https://github.com/neovim/neovim.git
synced 2025-02-25 18:55:25 -06:00
Reuse f_browse function from f_browsedir
The bodies of f_browse() and f_browsedir() were identical.
This commit is contained in:
parent
b81ec82533
commit
4fd8c3cbbb
@ -7287,8 +7287,7 @@ static void f_browse(typval_T *argvars, typval_T *rettv)
|
||||
*/
|
||||
static void f_browsedir(typval_T *argvars, typval_T *rettv)
|
||||
{
|
||||
rettv->vval.v_string = NULL;
|
||||
rettv->v_type = VAR_STRING;
|
||||
f_browse(argvars, rettv);
|
||||
}
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user