patch 9.1.1449: typo in pum_display() Commit: https://github.com/vim/vim/commit/ed4eb74f7a8eb47ff9f4dbba395fee9662c226d6 Author: glepnir <glephun...@gmail.com> Date: Tue Jun 10 20:23:42 2025 +0200
patch 9.1.1449: typo in pum_display() Problem: typo in pum_display() Solution: update the comment, remove empty new lines (glepnir) closes: #17506 Signed-off-by: glepnir <glephun...@gmail.com> Signed-off-by: Christian Brabandt <c...@256bit.org> diff --git a/src/popupmenu.c b/src/popupmenu.c index fb32017f3..eecddc5be 100644 --- a/src/popupmenu.c +++ b/src/popupmenu.c @@ -165,7 +165,6 @@ pum_display( && pum_win_row - above_row > (below_row - above_row) / 2) { // pum above "pum_win_row" - if (State == MODE_CMDLINE) // for cmdline pum, no need for context lines context_lines = 0; @@ -192,13 +191,12 @@ pum_display( else { // pum below "pum_win_row" - if (State == MODE_CMDLINE) // for cmdline pum, no need for context lines context_lines = 0; else { - // Leave two lines of context if possible + // Leave three lines of context if possible validate_cheight(); cline_visible_offset = curwin->w_cline_row + curwin->w_cline_height - curwin->w_wrow; diff --git a/src/version.c b/src/version.c index 44ec23153..3983083b4 100644 --- a/src/version.c +++ b/src/version.c @@ -709,6 +709,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ +/**/ + 1449, /**/ 1448, /**/ -- -- You received this message from the "vim_dev" maillist. Do not top-post! Type your reply below the text you are replying to. For more information, visit http://www.vim.org/maillist.php --- You received this message because you are subscribed to the Google Groups "vim_dev" group. To unsubscribe from this group and stop receiving emails from it, send an email to vim_dev+unsubscr...@googlegroups.com. To view this discussion visit https://groups.google.com/d/msgid/vim_dev/E1uP3jZ-00BoN8-Ty%40256bit.org.