commit 818a53003e75d54b893ee5725f1e670964dd3cba
parent 78419f858cb6a0443fcfb86f9bccd67e07b4c381
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Sun, 13 Jul 2008 14:13:58 +1200
write bookmarks file after deleting a bookmark
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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