mirror of
https://github.com/preservim/nerdtree.git
synced 2025-11-08 11:23:48 -05:00
Added case sensivity for refreshing nodes (#1382)
This commit is contained in:
@@ -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)
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user