Vim Bullets

While troublshooting markdown bullets in Vim, I commented out a bunch
of extraneous options. I'll leave it like this for a bit before removing
anything permanently.
This commit is contained in:
2024-03-11 17:29:36 -04:00
parent 66ec1489f5
commit 0c62678a90

30
.vimrc
View File

@@ -155,22 +155,36 @@ call plug#end()
" ==> Plugin Options
" Options and overrides for installed plugins
" = Vim Markdown
" = Markdown syntax highlighting for specified languages
" Vim Markdown
" Markdown syntax highlighting for specified languages
let g:markdown_fenced_languages = ['html', 'python', 'ini', 'vim', 'bash', 'yaml']
" = Set default conceallevel to hide links and some formatting
" Set default conceallevel to hide links and some formatting
set conceallevel=0
" = strikethrough
" strikethrough
let g:vim_markdown_strikethrough = 1
" = follow anchors - allow <ge> to follow anchors just like links
" follow anchors - allow <ge> to follow anchors just like links
let g:vim_markdown_follow_anchor = 1
" turn off auto-bullets and indent so `gq` works correctly
let g:vim_markdown_auto_insert_bullets=0
let g:vim_markdown_new_list_item_indent=0
let g:vim_markdown_frontmatter = 1
let g:vim_markdown_folding_disabled = 1
" Open folds by default
au BufWinEnter * normal zR
" bullets-vim
let g:bullets_enabled_file_types = [ 'markdown', 'gitcommit' ]
let g:bullets_outline_levels = ['num', 'abc', 'std*', 'std+', 'std-']
"vim-airline
let g:airline#extensions#tabline#enabled = 1
let g:airline_theme = 'angr'
" = multi-line bullets in markdown
" = [Reference](https://vimdoc.sourceforge.net/htmldoc/change.html#fo-table)
" j - remove a comment leader when joining lines.
@@ -185,9 +199,11 @@ let g:airline_theme = 'angr'
"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 setlocal comments=fb:>,fb:*,fb:+,fb:-
"autocmd FileType markdown setlocal formatlistpat=^\\s*\\d\\+[.\)]\\s\\+\\\|^\\s*[*+~-]\\s\\+\\\|^\\(\\\|[*#]\\)\\[^[^\\]]\\+\\]:\\s | setlocal comments=n:> | setlocal formatoptions+=cn
"autocmd FileType markdown set autoindent
"autocmd FileType markdown set comments=b:>
" = Open folds by default
au BufWinEnter * normal zR
" ---------------------------------------------------------------------------------------------------------------------
" ==> Colors