1
0
forked from aniani/vim

patch 8.1.0630: "wincmd p" does not work after using an autocmd window

Problem:   "wincmd p" does not work after using an autocmd window.
Solution:   Store "prevwin" in aco_save_T. (Christian Brabandt, closes #3690)
This commit is contained in:
Bram Moolenaar
2018-12-24 00:22:39 +01:00
parent 5d24a2257e
commit a42df5934b
4 changed files with 45 additions and 0 deletions

View File

@@ -3252,6 +3252,7 @@ typedef struct
int use_aucmd_win; /* using aucmd_win */
win_T *save_curwin; /* saved curwin */
win_T *new_curwin; /* new curwin */
win_T *save_prevwin; /* saved prevwin */
bufref_T new_curbuf; /* new curbuf */
char_u *globaldir; /* saved value of globaldir */
} aco_save_T;