mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-25 09:41:03 +08:00
add NERDTree.getroot()
Eventually 'root' will become a "private" instance var '_root'
This commit is contained in:
parent
c4f8681b77
commit
a60bd34a33
|
@ -122,6 +122,11 @@ function! s:NERDTree.ForCurrentTab()
|
|||
return getbufvar(bufnr, "NERDTree")
|
||||
endfunction
|
||||
|
||||
"FUNCTION: s:NERDTree.getRoot() {{{1
|
||||
function! s:NERDTree.getRoot()
|
||||
return self.root
|
||||
endfunction
|
||||
|
||||
"FUNCTION: s:NERDTree.GetWinNum() {{{1
|
||||
"gets the nerd tree window number for this tab
|
||||
function! s:NERDTree.GetWinNum()
|
||||
|
|
Loading…
Reference in New Issue
Block a user