From f9912eed04e13034e7d1da7287bf215446097f71 Mon Sep 17 00:00:00 2001 From: Hiroshi Shirosaki Date: Thu, 3 Mar 2016 13:47:46 +0900 Subject: [PATCH] Update document for pythonic style folding Fix #262 --- README.md | 6 ++++-- doc/vim-markdown.txt | 3 +++ 2 files changed, 7 insertions(+), 2 deletions(-) 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 ~ -- 2.39.5