menu.h
Go to the documentation of this file.
1 #ifndef NVIM_MENU_H
2 #define NVIM_MENU_H
3 
4 #include <stdbool.h> // for bool
5 
6 #include "nvim/ex_cmds_defs.h" // for exarg_T
7 #include "nvim/types.h" // for char_u and expand_T
8 
11 
15 #define MENU_NORMAL_MODE (1 << MENU_INDEX_NORMAL)
16 #define MENU_VISUAL_MODE (1 << MENU_INDEX_VISUAL)
17 #define MENU_SELECT_MODE (1 << MENU_INDEX_SELECT)
18 #define MENU_OP_PENDING_MODE (1 << MENU_INDEX_OP_PENDING)
19 #define MENU_INSERT_MODE (1 << MENU_INDEX_INSERT)
20 #define MENU_CMDLINE_MODE (1 << MENU_INDEX_CMDLINE)
21 #define MENU_TIP_MODE (1 << MENU_INDEX_TIP)
22 #define MENU_ALL_MODES ((1 << MENU_INDEX_TIP) - 1)
23 
26 #define MNU_HIDDEN_CHAR ']'
27 
28 #ifdef INCLUDE_GENERATED_DECLARATIONS
29 # include "menu.h.generated.h"
30 #endif
31 #endif // NVIM_MENU_H
types.h
ex_cmds_defs.h