mirror of
https://github.com/preservim/nerdtree.git
synced 2024-12-02 07:03:35 +08:00
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:
commit
cdb31d423c
|
@ -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, ' ')
|
||||
|
|
Loading…
Reference in New Issue
Block a user