nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit 1a121337dd1e8d7ec6c44c068cb147f4e9b896ef
parent a7d667b81bd381ff091e8ca0034a5b5e3660f1b2
Author: Jason Franklin <j_fra@fastmail.us>
Date:   Fri, 11 Aug 2017 08:33:51 -0400

Clean up the script header in "path.vim"

Some code was reorganized and comments were written/rewritten.

Diffstat:
Mlib/nerdtree/path.vim | 15+++++++++++----
1 file changed, 11 insertions(+), 4 deletions(-)
diff --git a/lib/nerdtree/path.vim b/lib/nerdtree/path.vim
@@ -1,9 +1,16 @@
-" we need to use this number many times for sorting... so we calculate it only
-" once here
+" ============================================================================
+" CLASS: Path
+"
+" The Path class provides an abstracted representation of a file system
+" pathname.  Various operations on pathnames are provided and a number of
+" representations of a given path name can be accessed here.
+" ============================================================================
+
+
+" This constant is used throughout this script for sorting purposes.
 let s:NERDTreeSortStarIndex = index(g:NERDTreeSortOrder, '*')
+lockvar s:NERDTreeSortStarIndex
 
-" CLASS: Path
-" ============================================================
 let s:Path = {}
 let g:NERDTreePath = s:Path