commit 7a1dbcbdb017380246017854861cb3dd14f150fc
parent ce9fece6266a0739a4a43cbbd1763802a0a0b240
Author: Martin Grenfell <martin_grenfell@msn.com>
Date: Tue, 3 Jun 2008 21:38:45 +1200
fix a bug with refreshing after copying
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim
@@ -169,7 +169,7 @@ endfunction
function! s:oTreeFileNode.Copy(dest) dict
call self.path.Copy(a:dest)
let newPath = s:oPath.New(a:dest)
- let parentNode = t:NERDTreeRoot.FindNode(newPath.GetDir())
+ let parentNode = t:NERDTreeRoot.FindNode(newPath.GetParent())
if !empty(parentNode)
call parentNode.Refresh()
endif