vim-patch:7.4.1558 (#5333)

Problem:    It is not easy to find out what windows display a buffer.
Solution:   Add win_findbuf().

9cdf86b86f
This commit is contained in:
Justin M. Keyes
2016-09-13 14:05:34 +02:00
committed by GitHub
parent a34d3a7244
commit 7eb4d2f79d
6 changed files with 37 additions and 1 deletions

View File

@@ -16768,6 +16768,14 @@ static void f_wildmenumode(typval_T *argvars, typval_T *rettv, FunPtr fptr)
rettv->vval.v_number = 1;
}
/// "win_findbuf()" function
static void f_win_findbuf(typval_T *argvars, typval_T *rettv, FunPtr fptr)
{
if (rettv_list_alloc(rettv) != FAIL) {
win_findbuf(argvars, rettv->vval.v_list);
}
}
/// "win_getid()" function
static void f_win_getid(typval_T *argvars, typval_T *rettv, FunPtr fptr)
{