runtime(zimbu): set 'commentstring' option in ftplugin

Commit: 
https://github.com/vim/vim/commit/85f0711b4eb2f4a27db4b9d8fc2588bfa3c81caf
Author: Riley Bruins <ribr...@hotmail.com>
Date:   Thu Jun 12 22:05:31 2025 +0200

    runtime(zimbu): set 'commentstring' option in ftplugin
    
    closes: https://github.com/vim/vim/issues/17478
    
    Signed-off-by: Riley Bruins <ribr...@hotmail.com>
    Signed-off-by: Christian Brabandt <c...@256bit.org>

diff --git a/runtime/ftplugin/zimbu.vim b/runtime/ftplugin/zimbu.vim
index 2ce08e5ca..1b5caf6a3 100644
--- a/runtime/ftplugin/zimbu.vim
+++ b/runtime/ftplugin/zimbu.vim
@@ -1,8 +1,10 @@
 " Vim filetype plugin file
 " Language:    Zimbu
 " Maintainer:  The Vim Project <https://github.com/vim/vim>
-" Last Change: 2023 Aug 10
+" Last Change: 2025 Jun 08
 " Former Maintainer:   Bram Moolenaar <b...@vim.org>
+" Note:        Zimbu was the programming language invented by Bram,
+"      but it seems to be lost by now
 
 " Only do this when not done yet for this buffer
 if exists("b:did_ftplugin")
@@ -16,7 +18,7 @@ let b:did_ftplugin = 1
 let s:cpo_save = &cpo
 set cpo-=C
 
-let b:undo_ftplugin = "setl fo< com< ofu< efm< tw< et< sts< sw< | if 
has('vms') | setl isk< | endif"
+let b:undo_ftplugin = "setl fo< com< cms< ofu< efm< tw< et< sts< sw< | if 
has('vms') | setl isk< | endif"
 
 " Set 'formatoptions' to break comment lines but not other lines,
 " and insert the comment leader when hitting <CR> or using "o".
@@ -30,6 +32,7 @@ endif
 " Set 'comments' to format dashed lists in comments.
 " And to keep Zudocu comment characters.
 setlocal comments=sO:#\ -,mO:#\ \ ,exO:#/,s:/*,m:\ ,ex:*/,:#=,:#-,:#%,:#
+setlocal commentstring=#\ %s
 
 setlocal errorformat^=%f\ line\ %l\ col\ %c:\ %m,ERROR:\ %m
 

-- 
-- 
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 vim_dev+unsubscr...@googlegroups.com.
To view this discussion visit 
https://groups.google.com/d/msgid/vim_dev/E1uPoKF-00Fu0k-49%40256bit.org.

Raspunde prin e-mail lui