Skip to content

Commit

Permalink
Merge pull request preservim#178 from franksort/master
Browse files Browse the repository at this point in the history
Fixed a typo. changing s:clearBoomarks to s:clearBookmarks in plugin/NERD_tree.vim.
  • Loading branch information
scrooloose committed Jun 30, 2012
2 parents 2cb0fc7 + 87208d2 commit cdb31d4
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions plugin/NERD_tree.vim
Expand Up @@ -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()
Expand Down Expand Up @@ -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, ' ')
Expand Down

0 comments on commit cdb31d4

Please sign in to comment.