changeset 30649:aea5de073664 v9.0.0659

patch 9.0.0659: wrong type of comment in SetSyn() function Commit: https://github.com/vim/vim/commit/caf05f504e062642c35a919b04f1b5638f994602 Author: Bram Moolenaar <Bram@vim.org> Date: Tue Oct 4 18:42:10 2022 +0100 patch 9.0.0659: wrong type of comment in SetSyn() function Problem: Wrong type of comment in SetSyn() function. Solution: Use Vim9 comment. (closes https://github.com/vim/vim/issues/11278)
author Bram Moolenaar <Bram@vim.org>
date Tue, 04 Oct 2022 19:45:02 +0200
parents 3eba699aba26
children a0ef66456ec8
files runtime/synmenu.vim src/version.c
diffstat 2 files changed, 3 insertions(+), 1 deletions(-) [+]
line wrap: on
line diff
--- a/runtime/synmenu.vim
+++ b/runtime/synmenu.vim
@@ -14,7 +14,7 @@ def SetSyn(name: string)
     filetype = "fvwm"
   endif
   if name == "whitespace"
-    " do not replace the filetype but add whitespace on top
+    # do not replace the filetype but add whitespace on top
     filetype = &ft .. ".whitespace"
   endif
   if !exists("s:syntax_menu_synonly")
--- a/src/version.c
+++ b/src/version.c
@@ -700,6 +700,8 @@ static char *(features[]) =
 static int included_patches[] =
 {   /* Add new patch number below this line */
 /**/
+    659,
+/**/
     658,
 /**/
     657,