commit dbeb1947ea986d7cda460f12962cdef5196ef87d
parent cdb31d423c996db298db57d69999f7c899188c9d
Author: Martin Grenfell <martin.grenfell@gmail.com>
Date: Sat, 30 Jun 2012 01:59:22 -0700
Merge pull request #172 from stephenprater/master
Files matching wildignore patterns are not shown in NERDTree
Diffstat:
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git 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