Merge pull request #178 from franksort/master

Fixed a typo. changing s:clearBoomarks to s:clearBookmarks in plugin/NERD_tree.vim.
This commit is contained in:
Martin Grenfell 2012-06-30 01:57:34 -07:00
commit cdb31d423c

View File

@ -969,8 +969,8 @@ function! s:compareNodes(n1, n2)
return a:n1.path.compareTo(a:n2.path) return a:n1.path.compareTo(a:n2.path)
endfunction endfunction
"FUNCTION: TreeFileNode.clearBoomarks() {{{3 "FUNCTION: TreeFileNode.clearBookmarks() {{{3
function! s:TreeFileNode.clearBoomarks() function! s:TreeFileNode.clearBookmarks()
for i in s:Bookmark.Bookmarks() for i in s:Bookmark.Bookmarks()
if i.path.equals(self.path) if i.path.equals(self.path)
call i.delete() call i.delete()
@ -4031,7 +4031,7 @@ function! s:clearBookmarks(bookmarks)
if a:bookmarks ==# '' if a:bookmarks ==# ''
let currentNode = s:TreeFileNode.GetSelected() let currentNode = s:TreeFileNode.GetSelected()
if currentNode != {} if currentNode != {}
call currentNode.clearBoomarks() call currentNode.clearBookmarks()
endif endif
else else
for name in split(a:bookmarks, ' ') for name in split(a:bookmarks, ' ')