We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e7a4523 commit 4266daaCopy full SHA for 4266daa
1 file changed
runtime/ftplugin/mermaid.vim
@@ -2,6 +2,7 @@
2
" Language: Mermaid
3
" Maintainer: Craig MacEachern <https://github.com/craigmac/vim-mermaid>
4
" Last Change: 2022 Oct 13
5
+" 2024 Jul 18 by Vim Project (adjust comments)
6
7
if exists("b:did_ftplugin")
8
finish
@@ -16,9 +17,9 @@ setlocal shiftwidth=2
16
17
setlocal softtabstop=-1
18
setlocal tabstop=4
19
20
+setlocal comments=:%%
21
+setlocal commentstring=%%\ %s
22
" TODO: comments, formatlist stuff, based on what?
-setlocal comments=b:#,fb:-
-setlocal commentstring=#\ %s
23
setlocal formatoptions+=tcqln formatoptions-=r formatoptions-=o
24
setlocal formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*[-*+]\\s\\+\\\|^\\[^\\ze[^\\]]\\+\\]:\\&^.\\{4\\}
25
0 commit comments