popupmnu.h
Go to the documentation of this file.
1 #ifndef NVIM_POPUPMNU_H
2 #define NVIM_POPUPMNU_H
3 
4 #include "nvim/vim.h"
5 #include "nvim/macros.h"
6 #include "nvim/grid_defs.h"
7 #include "nvim/types.h"
8 
10 typedef struct {
11  char_u *pum_text; // main menu text
12  char_u *pum_kind; // extra kind text (may be truncated)
13  char_u *pum_extra; // extra menu text (may be truncated)
14  char_u *pum_info; // extra info
15 } pumitem_T;
16 
18 
19 #ifdef INCLUDE_GENERATED_DECLARATIONS
20 # include "popupmnu.h.generated.h"
21 #endif
22 #endif // NVIM_POPUPMNU_H
pumitem_T::pum_extra
char_u * pum_extra
Definition: popupmnu.h:13
pumitem_T::pum_kind
char_u * pum_kind
Definition: popupmnu.h:12
types.h
macros.h
grid_defs.h
INIT
EXTERN ScreenGrid pum_grid INIT(=SCREEN_GRID_INIT)
pumitem_T::pum_text
char_u * pum_text
Definition: popupmnu.h:11
pumitem_T::pum_info
char_u * pum_info
Definition: popupmnu.h:14
SCREEN_GRID_INIT
#define SCREEN_GRID_INIT
Definition: grid_defs.h:110
pumitem_T
Used for popup menu items.
Definition: popupmnu.h:10
EXTERN
#define EXTERN
Definition: macros.h:9
char_u
unsigned char char_u
Definition: types.h:12
ScreenGrid
Definition: grid_defs.h:48
vim.h