ex_getln.h
Go to the documentation of this file.
1 #ifndef NVIM_EX_GETLN_H
2 #define NVIM_EX_GETLN_H
3 
4 #include "nvim/eval/typval.h"
5 #include "nvim/ex_cmds.h"
6 #include "nvim/ex_cmds_defs.h"
7 #include "nvim/os/time.h"
8 #include "nvim/regexp_defs.h"
9 
10 /* Values for nextwild() and ExpandOne(). See ExpandOne() for meaning. */
11 #define WILD_FREE 1
12 #define WILD_EXPAND_FREE 2
13 #define WILD_EXPAND_KEEP 3
14 #define WILD_NEXT 4
15 #define WILD_PREV 5
16 #define WILD_ALL 6
17 #define WILD_LONGEST 7
18 #define WILD_ALL_KEEP 8
19 
20 #define WILD_LIST_NOTFOUND 0x01
21 #define WILD_HOME_REPLACE 0x02
22 #define WILD_USE_NL 0x04
23 #define WILD_NO_BEEP 0x08
24 #define WILD_ADD_SLASH 0x10
25 #define WILD_KEEP_ALL 0x20
26 #define WILD_SILENT 0x40
27 #define WILD_ESCAPE 0x80
28 #define WILD_ICASE 0x100
29 #define WILD_ALLLINKS 0x200
30 
32 typedef enum {
33  HIST_DEFAULT = -2,
34  HIST_INVALID = -1,
35  HIST_CMD = 0,
40 } HistoryType;
41 
43 #define HIST_COUNT (HIST_DEBUG + 1)
44 
45 typedef char_u *(*CompleteListItemGetter)(expand_T *, int);
46 
48 typedef struct hist_entry {
49  int hisnum;
53 } histentry_T;
54 
55 #ifdef INCLUDE_GENERATED_DECLARATIONS
56 # include "ex_getln.h.generated.h"
57 #endif
58 #endif // NVIM_EX_GETLN_H
Definition: typval.h:164
Debug commands.
Definition: ex_getln.h:39
Colon commands.
Definition: ex_getln.h:35
Unknown history.
Definition: ex_getln.h:34
list_T * additional_elements
Additional entries from ShaDa file.
Definition: ex_getln.h:52
History entry definition.
Definition: ex_getln.h:48
Expressions (e.g. from entering = register).
Definition: ex_getln.h:37
input() lines.
Definition: ex_getln.h:38
Default (current) history.
Definition: ex_getln.h:33
unsigned char char_u
Definition: types.h:11
Search commands.
Definition: ex_getln.h:36
struct hist_entry histentry_T
History entry definition.
int hisnum
Entry identifier number.
Definition: ex_getln.h:49
HistoryType
Present history tables.
Definition: ex_getln.h:32
char_u * hisstr
Actual entry, separator char after the NUL.
Definition: ex_getln.h:50
Definition: ex_cmds_defs.h:143
Timestamp timestamp
Time when entry was added.
Definition: ex_getln.h:51
uint64_t Timestamp
Definition: time.h:8