summaryrefslogtreecommitdiffstats
path: root/runtime/doc/fold.txt
diff options
context:
space:
mode:
authorBram Moolenaar <Bram@vim.org>2015-03-31 17:46:22 +0200
committerBram Moolenaar <Bram@vim.org>2015-03-31 17:46:22 +0200
commit7d2757a47204d00cd47e3db94f1bd248c499d4e3 (patch)
tree9532b358350513ba47c4700fc82962ed58c67551 /runtime/doc/fold.txt
parent0e462411cafdd908356792b2c229ab6369103bca (diff)
updated for version 7.4.686v7.4.686
Problem: "zr" and "zm" do not take a count. Solution: Implement the count, restrict the fold level to the maximum nesting depth. (Marcin Szamotulski)
Diffstat (limited to 'runtime/doc/fold.txt')
-rw-r--r--runtime/doc/fold.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/doc/fold.txt b/runtime/doc/fold.txt
index 6ae2ff8682..20017d3538 100644
--- a/runtime/doc/fold.txt
+++ b/runtime/doc/fold.txt
@@ -365,7 +365,7 @@ zX Undo manually opened and closed folds: re-apply 'foldlevel'.
Also forces recomputing folds, like |zx|.
*zm*
-zm Fold more: Subtract one from 'foldlevel'. If 'foldlevel' was
+zm Fold more: Subtract |v:count1| from 'foldlevel'. If 'foldlevel' was
already zero nothing happens.
'foldenable' will be set.
@@ -374,7 +374,7 @@ zM Close all folds: set 'foldlevel' to 0.
'foldenable' will be set.
*zr*
-zr Reduce folding: Add one to 'foldlevel'.
+zr Reduce folding: Add |v:count1| to 'foldlevel'.
*zR*
zR Open all folds. This sets 'foldlevel' to highest fold level.