runtime(mermaid): correct wrong comment options
Commit:
https://github.com/vim/vim/commit/4266daae1714b6770a4e20b0017d0da65ee3b346
Author: Christian Brabandt <[email protected]>
Date: Thu Jul 18 20:32:04 2024 +0200
runtime(mermaid): correct wrong comment options
fixes: https://github.com/vim/vim/issues/15279
Signed-off-by: Christian Brabandt <[email protected]>
diff --git a/runtime/ftplugin/mermaid.vim b/runtime/ftplugin/mermaid.vim
index fe84ab37c..5547ad3e1 100644
--- a/runtime/ftplugin/mermaid.vim
+++ b/runtime/ftplugin/mermaid.vim
@@ -2,6 +2,7 @@
" Language: Mermaid
" Maintainer: Craig MacEachern <https://github.com/craigmac/vim-mermaid>
" Last Change: 2022 Oct 13
+" 2024 Jul 18 by Vim Project (adjust comments)
if exists("b:did_ftplugin")
finish
@@ -16,9 +17,9 @@ setlocal shiftwidth=2
setlocal softtabstop=-1
setlocal tabstop=4
+setlocal comments=:%%
+setlocal commentstring=%%\ %s
" TODO: comments, formatlist stuff, based on what?
-setlocal comments=b:#,fb:-
-setlocal commentstring=#\ %s
setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o
setlocal
formatlistpat=^\s*\d\+\.\s\+\\|^\s*[-*+]\s\+\\|^\[^\ze[^\]]\+\]:\&^.\{4\}
--
--
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 [email protected].
To view this discussion on the web visit
https://groups.google.com/d/msgid/vim_dev/E1sUW7m-00CQ7N-Qe%40256bit.org.