ex_docmd.h
Go to the documentation of this file.
1 #ifndef NVIM_EX_DOCMD_H
2 #define NVIM_EX_DOCMD_H
3 
4 #include "nvim/ex_cmds_defs.h"
5 #include "nvim/globals.h"
6 
7 // flags for do_cmdline()
8 #define DOCMD_VERBOSE 0x01 // included command in error message
9 #define DOCMD_NOWAIT 0x02 // don't call wait_return() and friends
10 #define DOCMD_REPEAT 0x04 // repeat exec. until getline() returns NULL
11 #define DOCMD_KEYTYPED 0x08 // don't reset KeyTyped
12 #define DOCMD_EXCRESET 0x10 // reset exception environment (for debugging
13 #define DOCMD_KEEPLINE 0x20 // keep typed line for repeating with "."
14 
15 /* defines for eval_vars() */
16 #define VALID_PATH 1
17 #define VALID_HEAD 2
18 
19 /* Values for exmode_active (0 is no exmode) */
20 #define EXMODE_NORMAL 1
21 #define EXMODE_VIM 2
22 
23 // Structure used to save the current state. Used when executing Normal mode
24 // commands while in any other mode.
25 typedef struct {
35 } save_state_T;
36 
37 #ifdef INCLUDE_GENERATED_DECLARATIONS
38 # include "ex_docmd.h.generated.h"
39 #endif
40 #endif // NVIM_EX_DOCMD_H
Definition: buffer_defs.h:335
int save_msg_scroll
Definition: ex_docmd.h:26
long save_opcount
Definition: ex_docmd.h:32
tasave_T tabuf
Definition: ex_docmd.h:34
int save_insertmode
Definition: ex_docmd.h:30
int save_reg_executing
Definition: ex_docmd.h:33
Definition: ex_docmd.h:25
int save_msg_didout
Definition: ex_docmd.h:28
bool save_finish_op
Definition: ex_docmd.h:31
int save_State
Definition: ex_docmd.h:29
int save_restart_edit
Definition: ex_docmd.h:27