summaryrefslogtreecommitdiffstatshomepage
path: root/src/nvim/autocmd.h
diff options
context:
space:
mode:
authorzeertzjq <zeertzjq@outlook.com>2024-01-19 12:10:31 +0800
committerGitHub <noreply@github.com>2024-01-19 12:10:31 +0800
commit0ef27180e31671a043b28547da327cd52f1a87c4 (patch)
treec27d0a5ab971cc09c1b52400027654488016301f /src/nvim/autocmd.h
parentf58c6135084f75e6250fd6b11eac410fb9a21b7a (diff)
parent26f836586479239935115944bff1dd2d156ef569 (diff)
Merge pull request #27088 from zeertzjq/backportrelease-0.9
Backport to release-0.9
Diffstat (limited to 'src/nvim/autocmd.h')
-rw-r--r--src/nvim/autocmd.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/nvim/autocmd.h b/src/nvim/autocmd.h
index 6dbd18ba7c..10d1aede37 100644
--- a/src/nvim/autocmd.h
+++ b/src/nvim/autocmd.h
@@ -24,7 +24,6 @@ struct AutoPat_S;
// 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_idx; ///< index in aucmd_win[] if >= 0
handle_T save_curwin_handle; ///< ID of saved curwin
handle_T new_curwin_handle; ///< ID of new curwin
@@ -33,6 +32,7 @@ typedef struct {
char *globaldir; ///< saved value of globaldir
bool save_VIsual_active; ///< saved VIsual_active
int save_State; ///< saved State
+ int save_prompt_insert; ///< saved b_prompt_insert
} aco_save_T;
typedef struct AutoCmd_S AutoCmd;