" Markdown configuration " " This filetype script is currently disable, as it may be conflicting with " something else. " " Markdown folding through NestedMarkdownFolds() are not correctly working " with this configuration. " " These settings are configured directly on filetype.vim instead. " Basic {{{ "setlocal autoindent smartindent "setlocal formatoptions=tcroqn2 comments=n:> "setlocal tabstop=2 softtabstop=2 shiftwidth=2 expandtab " }}} " Markdown configuration without vim-markdown plugin {{{ " " Include folding setup: " https://github.com/masukomi/vim-markdown-folding " " This is an alternative to the following method: " https://codereview.stackexchange.com/questions/202620/vim-plugin-for-folding-markdown-lists "setlocal foldexpr=NestedMarkdownFolds() " }}} " Markdown configuration with vim-markdown plugin {{{ let g:vim_markdown_new_list_item_indent = 2 let g:vim_markdown_folding_style_pythonic = 1 let g:vim_markdown_folding_level = 1 let g:vim_markdown_auto_insert_bullets = 0 let g:vim_markdown_new_list_item_indent = 0 " }}}