From 6e26222a303f8cb5bec0773dbd33e3d476bcd90b Mon Sep 17 00:00:00 2001 From: Jason Franklin Date: Sat, 6 Jan 2018 10:44:50 -0500 Subject: [PATCH] Update the docs for "NERDTreeStatusline" --- doc/NERDTree.txt | 13 ++++++------- 1 file changed, 6 insertions(+), 7 deletions(-) diff --git a/doc/NERDTree.txt b/doc/NERDTree.txt index 38fbad9..828032c 100644 --- 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'*