Doc: add :SignifyFold!

This commit is contained in:
Marco Hinz 2015-12-09 00:40:21 +01:00
parent 2dc2526426
commit 8ecfde45ec

View File

@ -341,7 +341,7 @@ Refresh signs in all windows.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------
*signify-:SignifyFold* *signify-:SignifyFold*
> >
:SignifyFold :SignifyFold[!]
< <
Open the current buffer in a new tabpage and set |'foldexpr'| so that only Open the current buffer in a new tabpage and set |'foldexpr'| so that only
changed lines with their surrounding context are unfolded. changed lines with their surrounding context are unfolded.
@ -352,6 +352,9 @@ The |foldtext| will be set so that the left side shows the first line in the
fold and the right side shows something like "50 [1]" which whereas "50" fold and the right side shows something like "50 [1]" which whereas "50"
stands for the number of folded lines and the "1" is the foldlevel. stands for the number of folded lines and the "1" is the foldlevel.
If [!] is given, Sy will do the same without opening an extra tabpage. Another
":SignifyFold!" will toggle back to the previous settings.
See |folds| to learn more about folding. See |folds| to learn more about folding.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------