diff options
author | Christian Clason <c.clason@uni-graz.at> | 2024-07-18 23:10:44 +0200 |
---|---|---|
committer | Christian Clason <c.clason@uni-graz.at> | 2024-07-19 08:17:47 +0200 |
commit | e54f503c44ed8a8d2892622577e6d2270b8f642b (patch) | |
tree | 571db22cbb4b35984a223a8d60d4a8b4c328dcb7 /runtime/ftplugin | |
parent | adef830f83a9a861e28ca0def6308a708d7fb731 (diff) | |
download | rneovim-e54f503c44ed8a8d2892622577e6d2270b8f642b.tar.gz rneovim-e54f503c44ed8a8d2892622577e6d2270b8f642b.tar.bz2 rneovim-e54f503c44ed8a8d2892622577e6d2270b8f642b.zip |
vim-patch:4266daa: runtime(mermaid): correct wrong comment options
fixes: vim/vim#15279
https://github.com/vim/vim/commit/4266daae1714b6770a4e20b0017d0da65ee3b346
Co-authored-by: Christian Brabandt <cb@256bit.org>
Diffstat (limited to 'runtime/ftplugin')
-rw-r--r-- | runtime/ftplugin/mermaid.vim | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/runtime/ftplugin/mermaid.vim b/runtime/ftplugin/mermaid.vim index fe84ab37cf..5547ad3e1f 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\\} |