From: Hiroshi Shirosaki Date: Thu, 3 Mar 2016 04:47:46 +0000 (+0900) Subject: Update document for pythonic style folding X-Git-Url: https://git.madduck.net/etc/vim.git/commitdiff_plain/f9912eed04e13034e7d1da7287bf215446097f71?ds=inline Update document for pythonic style folding Fix #262 --- diff --git a/README.md b/README.md index 83e4847..90987f2 100644 --- a/README.md +++ b/README.md @@ -72,13 +72,15 @@ set [no]foldenable ### Change fold style -To fold in a style like [python-mode](https://github.com/klen/python-mode), add -the following to your `.vimrc`: +To fold in a style like [python-mode](https://github.com/klen/python-mode), add the following to your `.vimrc`: ```vim let g:vim_markdown_folding_style_pythonic = 1 ``` +Level 1 heading which is served as a document title is not folded. +`g:vim_markdown_folding_level` setting is not active with this fold style. + ### Set header folding level Folding level is a number between 1 and 6. By default, if not specified, it is set to 1. diff --git a/doc/vim-markdown.txt b/doc/vim-markdown.txt index 4e9fbf0..6af20d1 100644 --- a/doc/vim-markdown.txt +++ b/doc/vim-markdown.txt @@ -93,6 +93,9 @@ To fold in a style like python-mode [6], add the following to your '.vimrc': > let g:vim_markdown_folding_style_pythonic = 1 < +Level 1 heading which is served as a document title is not folded. +'g:vim_markdown_folding_level' setting is not active with this fold style. + ------------------------------------------------------------------------------- *vim-markdown-set-header-folding-level* Set header folding level ~