diff options
author | Josh Rahm <rahm@google.com> | 2022-08-19 12:26:08 -0600 |
---|---|---|
committer | Josh Rahm <rahm@google.com> | 2022-08-19 13:06:41 -0600 |
commit | a7237662f96933efe29eed8212464571e3778cd0 (patch) | |
tree | 27930202726b4251437c8cfa53069f65b4db90dc /src/nvim/popupmenu.h | |
parent | 02292344929069ea63c0bb872cc22d552d86b67f (diff) | |
parent | b2f979b30beac67906b2dd717fcb6a34f46f5e54 (diff) | |
download | rneovim-tmp.tar.gz rneovim-tmp.tar.bz2 rneovim-tmp.zip |
Merge branch 'master' of https://github.com/neovim/neovim into rahmtmp
Diffstat (limited to 'src/nvim/popupmenu.h')
-rw-r--r-- | src/nvim/popupmenu.h | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/src/nvim/popupmenu.h b/src/nvim/popupmenu.h new file mode 100644 index 0000000000..851ad31486 --- /dev/null +++ b/src/nvim/popupmenu.h @@ -0,0 +1,22 @@ +#ifndef NVIM_POPUPMENU_H +#define NVIM_POPUPMENU_H + +#include "nvim/grid_defs.h" +#include "nvim/macros.h" +#include "nvim/types.h" +#include "nvim/vim.h" + +/// Used for popup menu items. +typedef struct { + char_u *pum_text; // main menu text + char_u *pum_kind; // extra kind text (may be truncated) + char_u *pum_extra; // extra menu text (may be truncated) + char_u *pum_info; // extra info +} pumitem_T; + +EXTERN ScreenGrid pum_grid INIT(= SCREEN_GRID_INIT); + +#ifdef INCLUDE_GENERATED_DECLARATIONS +# include "popupmenu.h.generated.h" +#endif +#endif // NVIM_POPUPMENU_H |