From 818a53003e75d54b893ee5725f1e670964dd3cba Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 13 Jul 2008 14:13:58 +1200 Subject: [PATCH] write bookmarks file after deleting a bookmark --- plugin/NERD_tree.vim | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 5db7e52..f331365 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -249,6 +249,7 @@ function! s:oBookmark.Delete() dict if !empty(node) call node.path.CacheDisplayString() endif + call s:oBookmark.Write() endfunction " FUNCTION: oBookmark.GetNode(searchFromAbsoluteRoot) {{{3 " Gets the treenode for this bookmark @@ -2937,7 +2938,6 @@ function! s:ClearBookmarks(bookmarks) call bookmark.Delete() endfor endif - call s:oBookmark.Write() call s:RenderView() endfunction " FUNCTION: s:CloseChildren() {{{2