To: vim_dev@googlegroups.com Subject: Patch 9.0.0706 Fcc: outbox From: Bram Moolenaar Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit ------------ 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 -- Bram@Moolenaar.net -- http://www.Moolenaar.net \\\ /// \\\ \\\ sponsor Vim, vote for features -- http://www.Vim.org/sponsor/ /// \\\ help me help AIDS victims -- http://ICCF-Holland.org ///