mirror of
https://github.com/neovim/neovim.git
synced 2025-09-14 15:28:17 +00:00
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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user