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
EXTERN ScreenGrid pum_grid INIT(=SCREEN_GRID_INIT)
Used for popup menu items.
Definition: popupmnu.h:10
char_u * pum_kind
Definition: popupmnu.h:12
#define SCREEN_GRID_INIT
Definition: grid_defs.h:64
#define EXTERN
Definition: macros.h:7
char_u * pum_info
Definition: popupmnu.h:14
char_u * pum_text
Definition: popupmnu.h:11
unsigned char char_u
Definition: types.h:11
Definition: grid_defs.h:38
char_u * pum_extra
Definition: popupmnu.h:13