mirror of
https://github.com/neovim/neovim.git
synced 2025-10-02 16:08:36 +00:00
aucmd_prepbuf: also restore prevwin
#9741
bisected to f5d5da3917
Other test steps:
nvim -u NORC
:terminal tree / " Produces lots of output
:edit somefile.txt
:vsplit
:vsplit
<c-w>l
<c-w>l
<c-w>h
<c-w>p
This commit is contained in:
@@ -23,6 +23,7 @@ typedef struct {
|
||||
buf_T *save_curbuf; ///< saved curbuf
|
||||
int use_aucmd_win; ///< using aucmd_win
|
||||
win_T *save_curwin; ///< saved curwin
|
||||
win_T *save_prevwin; ///< saved prevwin
|
||||
win_T *new_curwin; ///< new curwin
|
||||
bufref_T new_curbuf; ///< new curbuf
|
||||
char_u *globaldir; ///< saved value of globaldir
|
||||
|
Reference in New Issue
Block a user