From 8e6dd6bef29092e58d16c6fd2a94ba7755b95c0e Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Wed, 18 Nov 2020 09:28:29 -0700 Subject: Updating options for markdown lists --- plugin/vim-options.vim | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 1a5e0f5..d47f889 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -34,6 +34,7 @@ set statusline+=%2*\ %=\ %l/%L\ (%02p%%)\ " Rownumber/total (%) au FileType vim,ledger,yaml,html,htmldjango setlocal tabstop=2 au FileType sh,python setlocal tabstop=4 au FileType make setlocal tabstop=4 noexpandtab +au FileType markdown set tw=80 " Setup colorscheme syntax enable @@ -364,7 +365,7 @@ endif if !empty(glob($EditorDir.'plugged/vim-markdown/indent/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=2 + let g:vim_markdown_new_list_item_indent=0 autocmd BufRead,BufNewFile *.md setlocal comments=fb:>,fb:*,fb:+,fb:- endif "----------------------------------------------------------------------------------------------------------------------- @@ -402,3 +403,15 @@ if !empty(glob($EditorDir.'plugged/YouCompleteMe/plugin/youcompleteme.vim')) let g:ycm_keep_logfiles = 0 endif "----------------------------------------------------------------------------------------------------------------------- + + + +"----------------------------------------------------------------------------------------------------------------------- +" Bullets +"----------------------------------------------------------------------------------------------------------------------- +if !empty(glob($EditorDir.'plugged/bullets.vim/plugin/bullets.vim')) + let g:bullets_enabled_file_types = [ + \ 'markdown' + \] +endif +"----------------------------------------------------------------------------------------------------------------------- -- cgit v1.2.3