mirror of
https://github.com/preservim/nerdtree.git
synced 2024-11-22 11:32:25 +08:00
Added case sensivity for refreshing nodes (#1382)
This commit is contained in:
parent
79f6f912f4
commit
ff002d2132
|
@ -576,7 +576,7 @@ function! s:TreeDirNode.refresh()
|
|||
"create a new path and see if it exists in this nodes children
|
||||
let path = g:NERDTreePath.New(i)
|
||||
let newNode = self.getChild(path)
|
||||
if newNode !=# {}
|
||||
if newNode !=# {} && path.str() ==# newNode.path.str()
|
||||
call newNode.refresh()
|
||||
call add(newChildNodes, newNode)
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user