api: add nvim_win_close() to close window by id

This commit is contained in:
Björn Linse
2019-03-03 10:26:11 +01:00
parent 7a6da502b9
commit c8f310825c
4 changed files with 96 additions and 1 deletions

View File

@@ -6170,7 +6170,7 @@ static void ex_pclose(exarg_T *eap)
* Close window "win" and take care of handling closing the last window for a
* modified buffer.
*/
static void
void
ex_win_close(
int forceit,
win_T *win,