mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-23 19:53:45 +08:00
correct the comments above s:GetSelectedBookmark()
This commit is contained in:
parent
927aebfa8b
commit
a57b867ee6
|
@ -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', '')
|
||||
|
|
Loading…
Reference in New Issue
Block a user