public
Description: hax0r vim script to give you a tree explorer
Clone URL: git://github.com/scrooloose/nerdtree.git
Search Repo:
tell the user how many files couldnt be loaded
scrooloose (author)
Sat Jul 19 06:06:00 -0700 2008
commit  fe249e20b98446d2c96f6e5424a6f62fc79d8b37
tree    a3d931b9423e60ec433d2b3084513c4529b75d2d
parent  e819e13a5ddd249c3313dfe549d99f1dc279c48c
...
848
849
850
851
 
852
853
854
...
860
861
862
863
 
864
865
866
...
848
849
850
 
851
852
853
854
...
860
861
862
 
863
864
865
866
0
@@ -848,7 +848,7 @@ function! s:oTreeDirNode.InitChildren(silent) dict
0
                 let path = s:oPath.New(i)
0
                 call self.CreateChild(path, 0)
0
             catch /^NERDTree.Path.\(InvalidArguments\|InvalidFiletype\)/
0
- let invalidFilesFound = 1
0
+ let invalidFilesFound += 1
0
             endtry
0
         endif
0
     endfor
0
@@ -860,7 +860,7 @@ function! s:oTreeDirNode.InitChildren(silent) dict
0
     endif
0
 
0
     if invalidFilesFound
0
- call s:EchoWarning("some files could not be loaded into the NERD tree")
0
+ call s:EchoWarning(invalidFilesFound . " file(s) could not be loaded into the NERD tree")
0
     endif
0
     return self.GetChildCount()
0
 endfunction

Comments

    No one has commented yet.