1
0
forked from aniani/vim

patch 9.0.1554: code for handling 'switchbuf' is repeated

Problem:    Code for handling 'switchbuf' is repeated.
Solution:   Add a function to handle 'switchbuf'. (Yegappan Lakshmanan,
            closes #12397)
This commit is contained in:
Yegappan Lakshmanan
2023-05-14 17:24:22 +01:00
committed by Bram Moolenaar
parent b6a19594b2
commit e42c27d9e8
5 changed files with 39 additions and 43 deletions

View File

@@ -1,6 +1,7 @@
/* window.c */
int window_layout_locked(enum CMD_index cmd);
win_T *prevwin_curwin(void);
win_T *swbuf_goto_win_with_buf(buf_T *buf);
void do_window(int nchar, long Prenum, int xchar);
void get_wincmd_addr_type(char_u *arg, exarg_T *eap);
int win_split(int size, int flags);