mirror of
https://github.com/preservim/nerdtree.git
synced 2025-02-16 18:52:48 +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
|
"create a new path and see if it exists in this nodes children
|
||||||
let path = g:NERDTreePath.New(i)
|
let path = g:NERDTreePath.New(i)
|
||||||
let newNode = self.getChild(path)
|
let newNode = self.getChild(path)
|
||||||
if newNode !=# {}
|
if newNode !=# {} && path.str() ==# newNode.path.str()
|
||||||
call newNode.refresh()
|
call newNode.refresh()
|
||||||
call add(newChildNodes, newNode)
|
call add(newChildNodes, newNode)
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue
Block a user