mirror of
https://github.com/neovim/neovim.git
synced 2024-12-19 02:34:59 -07:00
vim-patch:4266daa: runtime(mermaid): correct wrong comment options
fixes: vim/vim#15279
4266daae17
Co-authored-by: Christian Brabandt <cb@256bit.org>
This commit is contained in:
parent
adef830f83
commit
e54f503c44
@ -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\\}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user