diff options
-rw-r--r-- | runtime/makemenu.vim | 8 | ||||
-rw-r--r-- | src/version.c | 2 |
2 files changed, 6 insertions, 4 deletions
diff --git a/runtime/makemenu.vim b/runtime/makemenu.vim index 43f2eb6107..b9cd8cb7b7 100644 --- a/runtime/makemenu.vim +++ b/runtime/makemenu.vim @@ -2,7 +2,7 @@ vim9script # Script to define the syntax menu in synmenu.vim # Maintainer: Bram Moolenaar <Bram@vim.org> -# Last Change: 2022 Feb 04 +# Last Change: 2022 Jun 27 # This is used by "make menu" in the src directory. edit <sfile>:p:h/synmenu.vim @@ -39,13 +39,13 @@ def Syn(arg: string) else # When starting a new letter, insert a menu separator. var c = submenu_name[0] - if c != s:cur_menu_char - exe 'an 50.' .. s:cur_menu_nr .. '.' .. s:cur_menu_item .. ' &Syntax.' .. menu_name .. ".-" .. c .. '- <nul>' + if c != cur_menu_char + exe 'an 50.' .. cur_menu_nr .. '.' .. cur_menu_item .. ' &Syntax.' .. menu_name .. ".-" .. c .. '- <nul>' cur_menu_item += 10 cur_menu_char = c endif endif - append(lnum, 'an 50.' .. s:cur_menu_nr .. '.' .. s:cur_menu_item .. ' &Syntax.' .. menu_name .. "." .. submenu_name .. ' :cal SetSyn("' .. syntax_name .. '")<CR>') + append(lnum, 'an 50.' .. cur_menu_nr .. '.' .. cur_menu_item .. ' &Syntax.' .. menu_name .. "." .. submenu_name .. ' :cal SetSyn("' .. syntax_name .. '")<CR>') cur_menu_item += 10 lnum += 1 enddef diff --git a/src/version.c b/src/version.c index 5d6fc91e06..73ebc9e394 100644 --- a/src/version.c +++ b/src/version.c @@ -736,6 +736,8 @@ static char *(features[]) = static int included_patches[] = { /* Add new patch number below this line */ /**/ + 5172, +/**/ 5171, /**/ 5170, |