diff --git a/.vimrc b/.vimrc index 7327be4..3885ba8 100644 --- a/.vimrc +++ b/.vimrc @@ -138,6 +138,11 @@ Plug 'preservim/vim-markdown' " https://github.com/micarmst/vim-spellsync Plug 'micarmst/vim-spellsync' +" Vim Bullets +" I tried for too long to get Martkdown bullet to work right. +" https://github.com/bullets-vim/bullets.vim +Plug 'bullets-vim/bullets.vim' + call plug#end() " --------------------------------------------------------------------------------------------------------------------- @@ -153,6 +158,9 @@ set conceallevel=0 let g:vim_markdown_strikethrough = 1 " = follow anchors - allow to follow anchors just like links let g:vim_markdown_follow_anchor = 1 + +" bullets-vim +let g:bullets_enabled_file_types = [ 'markdown', 'gitcommit' ] " = multi-line bullets in markdown " = [Reference](https://vimdoc.sourceforge.net/htmldoc/change.html#fo-table) " j - remove a comment leader when joining lines. @@ -164,8 +172,10 @@ let g:vim_markdown_follow_anchor = 1 " t - autowrap lines using text width value "autocmd FileType markdown setlocal formatoptions=aclnrot " The below was found here: https://github.com/preservim/vim-markdown/issues/232#issuecomment-246173676 -autocmd FileType markdown set formatoptions-=q -autocmd FileType markdown set formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*\[-*+]\\s\\+ +"autocmd FileType markdown set formatoptions-=q +"autocmd FileType markdown set formatoptions=jqr +"autocmd FileType markdown set formatlistpat=^\\s*\\d\\+\\.\\s\\+\\\|^\\s*\[-*+]\\s\\+ +"autocmd FileType markdown set comments=b:> " = Open folds by default au BufWinEnter * normal zR