Patch 9.0.0706
Problem: :help in a narrow window always opens at the top.
Solution: Respect 'splitbelow'. (closes #11319)
Files: src/help.c
*** ../vim-9.0.0705/src/help.c 2022-07-31 18:34:28.238324299 +0100
--- src/help.c 2022-10-09 15:46:16.901093259 +0100
***************
*** 150,156 ****
n = WSP_HELP;
if (cmdmod.cmod_split == 0 && curwin->w_width != Columns
&& curwin->w_width < 80)
! n |= WSP_TOP;
if (win_split(0, n) == FAIL)
goto erret;
--- 150,156 ----
n = WSP_HELP;
if (cmdmod.cmod_split == 0 && curwin->w_width != Columns
&& curwin->w_width < 80)
! n |= p_sb ? WSP_BOT : WSP_TOP;
if (win_split(0, n) == FAIL)
goto erret;
*** ../vim-9.0.0705/src/version.c 2022-10-09 15:25:45.949815094 +0100
--- src/version.c 2022-10-09 15:54:38.964075303 +0100
***************
*** 701,702 ****
--- 701,704 ----
{ /* Add new patch number below this line */
+ /**/
+ 706,
/**/
--
Nothing is impossible for the man who doesn't have to do it.
/// Bram Moolenaar -- [email protected] -- http://www.Moolenaar.net \\\
/// \\\
\\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ ///
\\\ help me help AIDS victims -- http://ICCF-Holland.org ///
--
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/20221009145534.D17A01C0674%40moolenaar.net.