fix a bug with C mapping

Closes #512
This commit is contained in:
Martin Grenfell
2015-11-26 09:27:44 +00:00
parent a2b06bbac3
commit c800aa27e2

View File

@@ -14,7 +14,7 @@ function! s:NERDTree.changeRoot(node)
let self.root = a:node let self.root = a:node
else else
call a:node.cacheParent() call a:node.cacheParent()
let self.root = self.parent let self.root = a:node.parent
endif endif
call self.root.open() call self.root.open()