" You can also use this as a start for your own set of menus.
"
" Maintainer: The Vim Project <https://github.com/vim/vim>
-" Last Change: 2025 Aug 10
+" Last Change: 2025 Dec 15
" Former Maintainer: Bram Moolenaar <Bram@vim.org>
" Note that ":an" (short for ":anoremenu") is often used to make a menu work
an 9999.45 &Help.-sep1- <Nop>
an 9999.50 &Help.&Credits :help credits<CR>
an 9999.60 &Help.Co&pying :help copying<CR>
-an 9999.70 &Help.&Sponsor/Register :help sponsor<CR>
+an 9999.70 &Help.&Sponsor :help sponsor<CR>
an 9999.70 &Help.O&rphans :help kcc<CR>
an 9999.75 &Help.-sep2- <Nop>
an 9999.80 &Help.&Version :version<CR>
static int included_patches[] =
{ /* Add new patch number below this line */
+/**/
+ 1989,
/**/
1988,
/**/
if (blanklines < 0)
blanklines = 0;
- // Show the sponsor and register message one out of four times, the Uganda
- // message two out of four times.
+ // Show the sponsor and Uganda message two out of four times
sponsor = (int)time(NULL);
sponsor = ((sponsor & 2) == 0) - ((sponsor & 4) == 0);
if (sponsor != 0)
{
if (strstr(p, "children") != NULL)
- p = sponsor < 0
- ? N_("Sponsor Vim development!")
- : N_("Become a registered Vim user!");
+ p = N_("Sponsor Vim development!");
else if (strstr(p, "Kuwasha") != NULL)
- p = sponsor < 0
- ? N_("type :help sponsor<Enter> for information ")
- : N_("type :help register<Enter> for information ");
+ p = N_("type :help sponsor<Enter> for information ");
else if (strstr(p, "Orphans") != NULL)
- p = N_("menu Help->Sponsor/Register for information ");
+ p = N_("menu Help->Sponsor for information ");
}
if (*p != NUL)
do_intro_line(row, (char_u *)_(p), i == 2, 0);