diff options
author | Matthieu Coudron <mattator@gmail.com> | 2020-04-27 13:53:41 +0200 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-04-27 13:53:41 +0200 |
commit | d90a92bcd3c18111abb62a57192c9e151839a7f4 (patch) | |
tree | e9b9163c0896aa099f7c543c76197d28dbfdc5d3 /src/nvim/ex_docmd.h | |
parent | fc98f2d5815d8f7e671766db255edbb7365960b1 (diff) | |
parent | fcd9ce39012c9328b999c4ccb7eaa7c22766168e (diff) | |
download | rneovim-d90a92bcd3c18111abb62a57192c9e151839a7f4.tar.gz rneovim-d90a92bcd3c18111abb62a57192c9e151839a7f4.tar.bz2 rneovim-d90a92bcd3c18111abb62a57192c9e151839a7f4.zip |
Merge pull request #12018 from janlazo/vim-8.0.1123
[RFC]vim-patch:8.0.{1123,1125,1138,1139,1142,1292,1334,1375},8.1.1264
Diffstat (limited to 'src/nvim/ex_docmd.h')
-rw-r--r-- | src/nvim/ex_docmd.h | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/src/nvim/ex_docmd.h b/src/nvim/ex_docmd.h index cff350de08..f6bd2adcd5 100644 --- a/src/nvim/ex_docmd.h +++ b/src/nvim/ex_docmd.h @@ -20,6 +20,20 @@ #define EXMODE_NORMAL 1 #define EXMODE_VIM 2 +// Structure used to save the current state. Used when executing Normal mode +// commands while in any other mode. +typedef struct { + int save_msg_scroll; + int save_restart_edit; + int save_msg_didout; + int save_State; + int save_insertmode; + bool save_finish_op; + long save_opcount; + int save_reg_executing; + tasave_T tabuf; +} save_state_T; + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "ex_docmd.h.generated.h" #endif |