aboutsummaryrefslogtreecommitdiff
path: root/src/nvim/autocmd.h
diff options
context:
space:
mode:
authorJan Edmund Lazo <jan.lazo@mail.utoronto.ca>2020-12-21 09:28:26 -0500
committerGitHub <noreply@github.com>2020-12-21 09:28:26 -0500
commitf15441be4b6697a4917f5edd99d403d5c953e66c (patch)
tree142f01b78c29051cf360ad3ada0efac6bd3e6d3f /src/nvim/autocmd.h
parenta1ec36ff31ff1fd545dd135faa47dc782b41a687 (diff)
parentebb0cbc6cccb0b75507815939aa761ae625ba0df (diff)
downloadrneovim-f15441be4b6697a4917f5edd99d403d5c953e66c.tar.gz
rneovim-f15441be4b6697a4917f5edd99d403d5c953e66c.tar.bz2
rneovim-f15441be4b6697a4917f5edd99d403d5c953e66c.zip
Merge pull request #13573 from janlazo/vim-8.1.1872
vim-patch:8.1.1872,8.2.1966
Diffstat (limited to 'src/nvim/autocmd.h')
-rw-r--r--src/nvim/autocmd.h14
1 files changed, 7 insertions, 7 deletions
diff --git a/src/nvim/autocmd.h b/src/nvim/autocmd.h
index af1eeb0fc4..1c0f88f08f 100644
--- a/src/nvim/autocmd.h
+++ b/src/nvim/autocmd.h
@@ -7,13 +7,13 @@
// Struct to save values in before executing autocommands for a buffer that is
// not the current buffer.
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
+ buf_T *save_curbuf; ///< saved curbuf
+ bool use_aucmd_win; ///< using aucmd_win
+ handle_T save_curwin_handle; ///< ID of saved curwin
+ handle_T new_curwin_handle; ///< ID of new curwin
+ handle_T save_prevwin_handle; ///< ID of saved prevwin
+ bufref_T new_curbuf; ///< new curbuf
+ char_u *globaldir; ///< saved value of globaldir
} aco_save_T;
typedef struct AutoCmd {