diff options
author | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-09-10 00:42:59 -0400 |
---|---|---|
committer | Jan Edmund Lazo <jan.lazo@mail.utoronto.ca> | 2019-12-29 18:15:46 -0500 |
commit | 703ed11c97256997aa0ce8aa5fe04b6e89e8e829 (patch) | |
tree | 402cdbb43de7fd560947b73ff294a6ad03cdfbe1 /src/nvim/screen.h | |
parent | 34a59242a0d42687a49119cca590e7b4203496ef (diff) | |
download | rneovim-703ed11c97256997aa0ce8aa5fe04b6e89e8e829.tar.gz rneovim-703ed11c97256997aa0ce8aa5fe04b6e89e8e829.tar.bz2 rneovim-703ed11c97256997aa0ce8aa5fe04b6e89e8e829.zip |
vim-patch:8.0.1491: the minimum width of the popup menu is hard coded
Problem: The minimum width of the popup menu is hard coded.
Solution: Add the 'pumwidth' option. (Christian Brabandt, James McCoy,
closes vim/vim#2314)
https://github.com/vim/vim/commit/a8f04aa275984183bab5bb583b128f38c64abb69
Diffstat (limited to 'src/nvim/screen.h')
-rw-r--r-- | src/nvim/screen.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/nvim/screen.h b/src/nvim/screen.h index 61ed98247d..9267672cf1 100644 --- a/src/nvim/screen.h +++ b/src/nvim/screen.h @@ -56,6 +56,9 @@ extern StlClickDefinition *tab_page_click_defs; /// Size of the tab_page_click_defs array extern long tab_page_click_defs_size; +#define W_ENDCOL(wp) (wp->w_wincol + wp->w_width) +#define W_ENDROW(wp) (wp->w_winrow + wp->w_height) + #ifdef INCLUDE_GENERATED_DECLARATIONS # include "screen.h.generated.h" #endif |