From a57b867ee655054f9d5638bd8d0348b1a18967ed Mon Sep 17 00:00:00 2001 From: Martin Grenfell Date: Sun, 31 Aug 2008 20:58:08 +1200 Subject: [PATCH] correct the comments above s:GetSelectedBookmark() --- plugin/NERD_tree.vim | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 69ce6bd..0f9a8dd 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -2195,8 +2195,7 @@ function! s:GetPath(ln) endfunction "FUNCTION: s:GetSelectedBookmark() {{{2 -"Returns the current node if it is a dir node, or else returns the current -"nodes parent +"returns the bookmark the cursor is over in the bookmarks table or {} function! s:GetSelectedBookmark() let line = getline(".") let name = substitute(line, '^>\(.\{-}\) .\+$', '\1', '')