mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-10 12:23:49 -05:00
correct the comments above s:GetSelectedBookmark()
This commit is contained in:
@@ -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', '')
|
||||
|
||||
Reference in New Issue
Block a user