diff options
author | Cody Hiar <cody@hiar.ca> | 2020-11-18 09:28:29 -0700 |
---|---|---|
committer | Cody Hiar <cody@hiar.ca> | 2020-11-18 09:28:29 -0700 |
commit | 8e6dd6bef29092e58d16c6fd2a94ba7755b95c0e (patch) | |
tree | d74fe1d0497c9a51adb06287d501a066f66e2644 /plugin | |
parent | dc69e3ba66597b63cafada1b557ea2a8e79d3524 (diff) |
Updating options for markdown lists
Diffstat (limited to 'plugin')
-rw-r--r-- | plugin/vim-options.vim | 15 |
1 files changed, 14 insertions, 1 deletions
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 +"----------------------------------------------------------------------------------------------------------------------- |