Merge pull request #172 from stephenprater/master

Files matching wildignore patterns are not shown in NERDTree
This commit is contained in:
Martin Grenfell 2012-06-30 01:59:22 -07:00
commit dbeb1947ea

View File

@ -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