diff --git a/plugin/NERD_tree.vim b/plugin/NERD_tree.vim index 5a698c2..212b71f 100644 --- a/plugin/NERD_tree.vim +++ b/plugin/NERD_tree.vim @@ -1617,7 +1617,7 @@ function! s:TreeDirNode._initChildren(silent) "get an array of all the files in the nodes dir let dir = self.path let globDir = dir.str({'format': 'Glob'}) - let filesStr = globpath(globDir, '*') . "\n" . globpath(globDir, '.*') + let filesStr = globpath(globDir, '*',1) . "\n" . globpath(globDir, '.*',1) let files = split(filesStr, "\n") if !a:silent && len(files) > g:NERDTreeNotificationThreshold