Fixed a bug that caused the file-tree construction to slow down significantly. (#1126)

Co-authored-by: evgenij.vidershpan <evgenij.vidershpan@yandex.ru>
This commit is contained in:
Eugenij
2020-05-21 12:23:35 +06:00
committed by GitHub
parent e2670f0d19
commit 10eaa3a2f4
2 changed files with 2 additions and 0 deletions

View File

@@ -431,6 +431,7 @@ function! s:TreeDirNode._initChildren(silent)
endtry
endfor
let g:NERDTreeOldSortOrder = g:NERDTreeSortOrder
call self.sortChildren()
call nerdtree#echo('')