nerdtree

A tree explorer plugin for vim.
Index Commits Files Refs
commit ce79c243a33a20b8808a9c2e130d59b42b438dcc
parent e1b369f34ece21de69b95a04e5288a77cc1cc8fc
Author: Martin Grenfell <martin_grenfell@msn.com>
Date:   Tue, 17 Jun 2008 21:20:56 +1200

show how many invalid bookmarks were read

Diffstat:
Mplugin/NERD_tree.vim | 4++--
1 file changed, 2 insertions(+), 2 deletions(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -1517,11 +1517,11 @@ function! s:ReadBookmarks()
             try
                 let bookmarks[key] = s:oPath.New(path)
             catch /NERDTree.Path.InvalidArguments/
-                let invalidBookmarksFound = 1
+                let invalidBookmarksFound += 1
             endtry
         endfor
         if invalidBookmarksFound
-            call s:Echo("Invalid bookmarks were read and discarded")
+            call s:Echo(invalidBookmarksFound . " invalid bookmarks were read and discarded")
             call s:WriteBookmarks()
         endif
     endif