ex_cmds.h
Go to the documentation of this file.
1 #ifndef NVIM_EX_CMDS_H
2 #define NVIM_EX_CMDS_H
3 
4 #include <stdbool.h>
5 
6 #include "nvim/buffer_defs.h"
7 #include "nvim/eval/typval.h"
8 #include "nvim/ex_cmds_defs.h"
9 #include "nvim/os/time.h"
10 #include "nvim/pos.h"
11 
12 // flags for do_ecmd()
13 #define ECMD_HIDE 0x01 // don't free the current buffer
14 #define ECMD_SET_HELP 0x02 // set b_help flag of (new) buffer before
15  // opening file
16 #define ECMD_OLDBUF 0x04 // use existing buffer if it exists
17 #define ECMD_FORCEIT 0x08 // ! used in Ex command
18 #define ECMD_ADDBUF 0x10 // don't edit, just add to buffer list
19 #define ECMD_ALTBUF 0x20 // like ECMD_ADDBUF and set the alternate file
20 #define ECMD_NOWINENTER 0x40 // do not trigger BufWinEnter
21 
22 // for lnum argument in do_ecmd()
23 #define ECMD_LASTL (linenr_T)0 // use last position in loaded file
24 #define ECMD_LAST (linenr_T)-1 // use last position in all files
25 #define ECMD_ONE (linenr_T)1 // use first line
26 
28 typedef struct {
29  char *sub;
33 
34 #ifdef INCLUDE_GENERATED_DECLARATIONS
35 # include "ex_cmds.h.generated.h"
36 #endif
37 #endif // NVIM_EX_CMDS_H
time.h
listvar_S
Definition: typval.h:174
Timestamp
uint64_t Timestamp
Definition: time.h:8
SubReplacementString::additional_elements
list_T * additional_elements
Additional data left from ShaDa file.
Definition: ex_cmds.h:31
SubReplacementString::timestamp
Timestamp timestamp
Time when it was last set.
Definition: ex_cmds.h:30
typval.h
SubReplacementString
Previous :substitute replacement string definition.
Definition: ex_cmds.h:28
ex_cmds_defs.h
buffer_defs.h
SubReplacementString::sub
char * sub
Previous replacement string.
Definition: ex_cmds.h:29
pos.h