From f02cb6833df5c6c4e032128ca7a570d5f8ec720e Mon Sep 17 00:00:00 2001 From: Cody Hiar Date: Fri, 15 Jun 2018 14:17:07 -0600 Subject: Disable folding for markdown by default --- plugin/vim-options.vim | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/plugin/vim-options.vim b/plugin/vim-options.vim index 727561e..ba2c2af 100644 --- a/plugin/vim-options.vim +++ b/plugin/vim-options.vim @@ -316,3 +316,14 @@ if !empty(glob($EditorDir.'plugged/vim-jinja2-syntax/indent/jinja.vim')) au BufNewFile,BufRead *.html,*.htm,*.shtml,*.stm set ft=jinja endif "----------------------------------------------------------------------------------------------------------------------- + + + +"----------------------------------------------------------------------------------------------------------------------- +" Markdown +"----------------------------------------------------------------------------------------------------------------------- +if !empty(glob($EditorDir.'plugged/vim-markdown/indent/markdown.vim')) + let g:vim_markdown_folding_disabled=1 +endif +"----------------------------------------------------------------------------------------------------------------------- + -- cgit v1.2.3