From 4b8a03c9c19c06a5e6d000bf552ddbaf2c0e14b5 Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Tue, 15 Dec 2020 09:10:41 -0700 Subject: Update what markdown plugin thinks are comments --- plugin/vim-options.vim | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'plugin') diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index b08b360..f24d7d8 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -363,11 +363,12 @@ endif "----------------------------------------------------------------------------------------------------------------------- " Markdown "----------------------------------------------------------------------------------------------------------------------- -if !empty(glob($EditorDir.'plugged/vim-markdown/indent/markdown.vim')) +if !empty(glob($EditorDir.'plugged/vim-markdown/ftplugin/markdown.vim')) let g:vim_markdown_folding_disabled=1 let g:vim_markdown_auto_insert_bullets=0 let g:vim_markdown_new_list_item_indent=0 - autocmd BufRead,BufNewFile *.md setlocal comments=fb:>,fb:*,fb:+,fb:- + " autocmd BufRead,BufNewFile *.md setlocal comments=fb:>,fb:*,fb:+,fb:- + autocmd BufRead,BufNewFile *.md setlocal comments=b:> endif "----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3