move nerdtree#treeExists.* methods into the NERDTree class

This commit is contained in:
Martin Grenfell
2014-07-17 20:27:21 +01:00
parent fd14757c04
commit c2dd750860
6 changed files with 24 additions and 20 deletions

View File

@@ -85,7 +85,7 @@ function! s:KeyMap.Invoke(key)
"is in first
"
"TODO: remove this check when the vim bug is fixed
if !nerdtree#treeExistsForBuf()
if !g:NERDTree.ExistsForBuf()
return {}
endif