diff options
author | Yatao Li <yatli@microsoft.com> | 2020-02-24 16:40:58 +0800 |
---|---|---|
committer | Yatao Li <yatli@microsoft.com> | 2020-04-28 01:52:02 +0800 |
commit | 630ec6cfb8670607ddfc67dd4e56e98c17746ca6 (patch) | |
tree | 68b5436a3c5a94d8233ae4edd7b906f35e24608f /src/nvim/ui.h | |
parent | d90a92bcd3c18111abb62a57192c9e151839a7f4 (diff) | |
download | rneovim-630ec6cfb8670607ddfc67dd4e56e98c17746ca6.tar.gz rneovim-630ec6cfb8670607ddfc67dd4e56e98c17746ca6.tar.bz2 rneovim-630ec6cfb8670607ddfc67dd4e56e98c17746ca6.zip |
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 | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/nvim/ui.h b/src/nvim/ui.h index 8867b5ee24..b3a569b0df 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_nlines; /// actual nr. lines shown in PUM + bool pum_pos; /// UI reports back pum position? + int pum_row; + int pum_col; int pum_height; + int pum_width; void *data; #ifdef INCLUDE_GENERATED_DECLARATIONS |