diff options
| author | Matthieu Coudron <mattator@gmail.com> | 2020-04-27 21:12:12 +0200 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2020-04-27 21:12:12 +0200 |
| commit | c7d3630e214012667e855c30cde2808a5fe59650 (patch) | |
| tree | cc2024053865052d34e7e8ebebbd45a4064d29ee /src/nvim/ui.h | |
| parent | d90a92bcd3c18111abb62a57192c9e151839a7f4 (diff) | |
| parent | e34684b2ad02e759dec39c0f0958c7882120ecdc (diff) | |
| download | rneovim-c7d3630e214012667e855c30cde2808a5fe59650.tar.gz rneovim-c7d3630e214012667e855c30cde2808a5fe59650.tar.bz2 rneovim-c7d3630e214012667e855c30cde2808a5fe59650.zip | |
Merge pull request #11943 from yatli/master
[RDY] API/UI: Allow UI to set PUM position and size, and pass the position to CompleteChanged
Diffstat (limited to 'src/nvim/ui.h')
| -rw-r--r-- | src/nvim/ui.h | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index 8867b5ee24..d00243d35f 100644 --- a/src/nvim/ui.h +++ b/src/nvim/ui.h @@ -53,7 +53,12 @@ struct ui_t { bool ui_ext[kUIExtCount]; ///< Externalized UI capabilities. int width; int height; - int pum_height; + int pum_nlines; /// actual nr. lines shown in PUM + bool pum_pos; /// UI reports back pum position? + double pum_row; + double pum_col; + double pum_height; + double pum_width; void *data; #ifdef INCLUDE_GENERATED_DECLARATIONS |