commit 68572ef46143c5c7d420a6ec86f1ec4595765ce5 parent 183bb53485f32f3be5e920cedc657dfc9c6d7eda Author: Jason Franklin <lifecrisis@users.noreply.github.com> Date: Sun, 7 Jan 2018 08:34:08 -0500 Merge pull request #796 from lifecrisis/doc-update Update the documentation for the "NERDTreeStatusline" setting. Diffstat:
| M | doc/NERDTree.txt | | | 13 | ++++++------- |
1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/NERDTree.txt b/doc/NERDTree.txt @@ -996,17 +996,16 @@ Other examples: > ------------------------------------------------------------------------------ *'NERDTreeStatusline'* -Values: Any valid statusline setting. -Default: %{b:NERDTree.root.path.strForOS(0)} +Values: Any valid |'statusline'| setting. +Default: %{exists('b:NERDTree')?b:NERDTree.root.path.str():''} -Tells the script what to use as the |'statusline'| setting for NERD tree -windows. +Defines the value for the |'statusline'| setting in NERDTree windows. -Note that the statusline is set using |:let-&| not |:set| so escaping spaces -isn't necessary. +Note: The setting is actually applied using |:let-&|, not |:set|, so +escaping spaces is not necessary. Setting this option to -1 will will deactivate it so that your global -statusline setting is used instead. +|'statusline'| setting is used. ------------------------------------------------------------------------------ *'NERDTreeWinPos'*
