From 87208d210b0293fff61f864390b38da160e66f6d Mon Sep 17 00:00:00 2001 From: Frank S Date: Wed, 27 Jun 2012 20:07:52 -0700 Subject: [PATCH] Fixed typo. changing s:clearBoomarks to s:clearBookmarks. --- plugin/NERD_tree.vim | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 05c4b462..5a698c2f 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -969,8 +969,8 @@ function! s:compareNodes(n1, n2) return a:n1.path.compareTo(a:n2.path) endfunction -"FUNCTION: TreeFileNode.clearBoomarks() {{{3 -function! s:TreeFileNode.clearBoomarks() +"FUNCTION: TreeFileNode.clearBookmarks() {{{3 +function! s:TreeFileNode.clearBookmarks() for i in s:Bookmark.Bookmarks() if i.path.equals(self.path) call i.delete() @@ -4031,7 +4031,7 @@ function! s:clearBookmarks(bookmarks) if a:bookmarks ==# '' let currentNode = s:TreeFileNode.GetSelected() if currentNode != {} - call currentNode.clearBoomarks() + call currentNode.clearBookmarks() endif else for name in split(a:bookmarks, ' ')