dont use b:NERDTreeRoot internally, but leave the var there for compat

Use b:NERDTree.root instead. I will eventually remove  b:NERDTreeRoot
altogether - but this will break some other plugins so leave it for now.
This commit is contained in:
Martin Grenfell
2015-11-16 11:28:24 +00:00
parent 0b966aa23a
commit d36b793656
10 changed files with 42 additions and 42 deletions

View File

@@ -73,7 +73,7 @@ endfunction
" Function: s:NERDTree.ExistsForBuffer() {{{1
" Returns 1 if a nerd tree root exists in the current buffer
function! s:NERDTree.ExistsForBuf()
return exists("b:NERDTreeRoot")
return exists("b:NERDTree")
endfunction
" Function: s:NERDTree.ExistsForTab() {{{1