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.c | |
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.c')
-rw-r--r-- | src/nvim/screen.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/src/nvim/screen.c b/src/nvim/screen.c index 1b7eeeecb8..bfb256a0ad 100644 --- a/src/nvim/screen.c +++ b/src/nvim/screen.c @@ -121,8 +121,6 @@ #define MB_FILLER_CHAR '<' /* character used when a double-width character * doesn't fit. */ -#define W_ENDCOL(wp) (wp->w_wincol + wp->w_width) -#define W_ENDROW(wp) (wp->w_winrow + wp->w_height) // temporary buffer for rendering a single screenline, so it can be |